Skip to content

Commit 132a244

Browse files
committed
more clippy
1 parent 4eb1f73 commit 132a244

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/geo_filters/tests/public_api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn readme() {
1616
c2.push(3);
1717

1818
let estimated_size = c1.size_with_sketch(&c2);
19-
assert!(estimated_size >= 3.0_f32 * 0.9 && estimated_size <= 3.0_f32 * 1.1);
19+
assert!((3.0_f32 * 0.9..=3.0_f32 * 1.1).contains(&estimated_size));
2020
}
2121

2222
#[test]

0 commit comments

Comments
 (0)