Skip to content

Commit e073620

Browse files
authored
Merge branch 'main' into fix_benchmarks
2 parents 769f75a + d2c6a56 commit e073620

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed
4.88 KB
Binary file not shown.
1.95 KB
Binary file not shown.

src/stable/build/commands/build/wasm_binary/rust/stable_canister_template/src/ic/rand_bytes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub fn get_function(ctx: Ctx) -> Result<Function> {
1212

1313
let mut bytes = vec![0; byte_length];
1414

15-
rng.fill_bytes(bytes.as_mut_slice());
15+
rng.fill_bytes(&mut bytes);
1616

1717
TypedArray::<u8>::new(ctx.clone(), bytes)
1818
})

0 commit comments

Comments
 (0)