Avoid duplicating constant

This commit is contained in:
Gwilym Kuiper 2022-03-20 13:43:31 +00:00
parent 3ae0e30d3c
commit e9c56327b1

View file

@ -568,7 +568,7 @@ mod test {
for _ in 0..5_000 {
let command = rng.next().rem_euclid(2);
let key = rng.next().rem_euclid(128);
let key = rng.next().rem_euclid(answers.len() as i32);
let value = rng.next();
match command {