Skip to content

Commit 8a0305b

Browse files
committed
fix cargo clippy
Signed-off-by: Runji Wang <[email protected]>
1 parent b91223b commit 8a0305b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn gen_vector_asm() -> Result<()> {
1616
writeln!(f, ".section .text")?;
1717
for i in 0..256 {
1818
writeln!(f, "vector{}:", i)?;
19-
if !(i == 8 || (i >= 10 && i <= 14) || i == 17) {
19+
if !(i == 8 || (10..=14).contains(&i) || i == 17) {
2020
writeln!(f, "\tpush 0")?;
2121
}
2222
writeln!(f, "\tpush {}", i)?;

0 commit comments

Comments
 (0)