Skip to content

Commit

Permalink
nargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljklein committed Oct 11, 2024
1 parent e596612 commit f23934a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
fn main() {
let empty_slice: [u8] = &[];

if empty_slice != &[] {
let _ = empty_slice.pop_front();
}

if empty_slice.len() != 0 {
let _ = empty_slice.pop_front();
}
Expand Down

0 comments on commit f23934a

Please sign in to comment.