We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adf42e7 commit 0419762Copy full SHA for 0419762
src/js.rs
@@ -27,7 +27,7 @@ thread_local!(
27
static RNG_SOURCE: Result<RngSource, Error> = getrandom_init();
28
);
29
30
-pub(crate) unsafe fn getrandom_inner(dst: *mut u8, len: usize) -> Result<(), Error> {
+pub(crate) unsafe fn getrandom_inner(mut dst: *mut u8, mut len: usize) -> Result<(), Error> {
31
RNG_SOURCE.with(|result| {
32
let source = result.as_ref().map_err(|&e| e)?;
33
0 commit comments