Skip to content

Commit 8d92436

Browse files
authored
chore: use slices in INTERESTING* (#11305)
1 parent 1186156 commit 8d92436

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/evm/fuzz/src/strategies/mutators.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ use rand::seq::IndexedRandom;
55
use std::fmt::Debug;
66

77
// Interesting 8-bit values to inject.
8-
static INTERESTING_8: [i8; 9] = [-128, -1, 0, 1, 16, 32, 64, 100, 127];
8+
static INTERESTING_8: &[i8] = &[-128, -1, 0, 1, 16, 32, 64, 100, 127];
99

1010
/// Interesting 16-bit values to inject.
11-
static INTERESTING_16: [i16; 19] = [
11+
static INTERESTING_16: &[i16] = &[
1212
-128, -1, 0, 1, 16, 32, 64, 100, 127, -32768, -129, 128, 255, 256, 512, 1000, 1024, 4096, 32767,
1313
];
1414

1515
/// Interesting 32-bit values to inject.
16-
static INTERESTING_32: [i32; 27] = [
16+
static INTERESTING_32: &[i32] = &[
1717
-128,
1818
-1,
1919
0,

0 commit comments

Comments
 (0)