Skip to content

Commit 0419762

Browse files
committed
Fix js
1 parent adf42e7 commit 0419762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ thread_local!(
2727
static RNG_SOURCE: Result<RngSource, Error> = getrandom_init();
2828
);
2929

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

0 commit comments

Comments
 (0)