We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53b3b19 commit 4494700Copy full SHA for 4494700
1 file changed
src/windows.rs
@@ -21,7 +21,7 @@ extern "system" {
21
) -> u32;
22
}
23
24
-pub unsafe fn getrandom_inner(mut dst: *mut u8, mut len: usize) -> Result<(), Error> {
+pub unsafe fn getrandom_inner(dst: *mut u8, len: usize) -> Result<(), Error> {
25
// Prevent overflow of u32
26
raw_chunks(dst, len, u32::max_value() as usize, |cdst, clen| {
27
// BCryptGenRandom was introduced in Windows Vista
0 commit comments