Skip to content

Commit e7cd2a4

Browse files
committed
refactor: remove the unnecessary variable.
1 parent 44feed1 commit e7cd2a4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/util.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ pub mod math {
1414
return 0;
1515
}
1616

17-
let first = slice[0];
1817
let mut iter = slice.iter().skip_while(|x| x == &&0);
1918
let first = match iter.next() {
2019
Some(v) => *v,

0 commit comments

Comments
 (0)