Skip to content

Commit cde3cb7

Browse files
committed
all bow before clippy...
1 parent 8f13504 commit cde3cb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/table_collection.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ mod test {
813813
)
814814
};
815815

816-
assert!(input.len() > 0);
816+
assert!(!input.is_empty());
817817

818818
let tables_input = tables.edge_insertion_order().unwrap();
819819

@@ -829,7 +829,7 @@ mod test {
829829
(*tables.as_ptr()).indexes.num_edges as usize,
830830
)
831831
};
832-
assert!(output.len() > 0);
832+
assert!(!output.is_empty());
833833

834834
let tables_output = tables.edge_removal_order().unwrap();
835835

0 commit comments

Comments
 (0)