diff options
| author | Jack O'Connor <[email protected]> | 2023-09-10 14:04:57 -0700 |
|---|---|---|
| committer | Jack O'Connor <[email protected]> | 2023-09-10 14:04:57 -0700 |
| commit | 02dec6e9a655348995a35cb0de81edeb955cfc8d (patch) | |
| tree | 0e4d540a08ca8fde5ca45eae5798b4e3f2e39d6d | |
| parent | d6265dafc9366d59de273a831339dafe0058ceb7 (diff) | |
fix a build break in the blake3_c tests
| -rw-r--r-- | c/blake3_c_rust_bindings/src/test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/blake3_c_rust_bindings/src/test.rs b/c/blake3_c_rust_bindings/src/test.rs index 1fc077c..0730d93 100644 --- a/c/blake3_c_rust_bindings/src/test.rs +++ b/c/blake3_c_rust_bindings/src/test.rs @@ -485,7 +485,7 @@ fn test_fuzz_hasher() { let mut total_input = 0; // For each test, write 3 inputs of random length. for _ in 0..3 { - let input_len = rng.gen_range(0, INPUT_MAX + 1); + let input_len = rng.gen_range(0..INPUT_MAX + 1); dbg!(input_len); let input = &input_buf[total_input..][..input_len]; hasher.update(input); |
