Skip to content

Commit

Permalink
js fix
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Sep 29, 2022
1 parent eb1eb9a commit 53b3b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js.rs
Expand Up @@ -27,7 +27,7 @@ thread_local!(
static RNG_SOURCE: Result<RngSource, Error> = getrandom_init();
);

pub(crate) unsafe fn getrandom_inner(mut dst: *mut u8, mut len: usize) -> Result<(), Error> {
pub(crate) unsafe fn getrandom_inner(dst: *mut u8, len: usize) -> Result<(), Error> {
RNG_SOURCE.with(|result| {
let source = result.as_ref().map_err(|&e| e)?;

Expand Down

0 comments on commit 53b3b19

Please sign in to comment.