Skip to content

Commit bd87a25

Browse files
committed
Clippy loves inline format string args
1 parent b3dc52e commit bd87a25

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

crates/geo_filters/src/diff_count.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@ impl<C: GeoConfig<Diff>> GeoDiffCount<'_, C> {
105105
msb.push(*bucket);
106106
})
107107
.unwrap_or_default();
108-
109108
let lsb = BitVec::from_bit_chunks(ones.into_bitchunks(), smallest_msb.into_usize());
110-
111109
let result = Self {
112110
config,
113111
msb: Cow::from(msb),

crates/geo_filters/src/test_rng.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ where
1818
match maybe_panic {
1919
Ok(t) => t,
2020
Err(panic_info) => {
21-
eprintln!("Test failed! Reproduce with: TEST_SEED={}", seed);
21+
eprintln!("Test failed! Reproduce with: TEST_SEED={seed}");
2222
resume_unwind(panic_info);
2323
}
2424
}

0 commit comments

Comments
 (0)