Skip to content

Commit 7cbd638

Browse files
committed
fuzzing fix, again
1 parent c299238 commit 7cbd638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fuzz/fuzz_targets/smallvec_ops.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ fn do_test<const N: usize>(data: &[u8]) -> SmallVec<u8, N> {
152152
let a = next_usize!(bytes) % (v.len() + 1);
153153
let b = next_usize!(bytes) % (v.len() + 1);
154154
let (start, end) = (a.min(b), a.max(b));
155-
v.extend_from_within(a..b);
155+
v.extend_from_within(start..end);
156156
}
157157

158158
25 => {

0 commit comments

Comments
 (0)