Skip to content

Commit 7df1e74

Browse files
committed
Make clippy happy (they deserve it).
1 parent 70cc557 commit 7df1e74

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lexical-benchmark/parse-float/black_box.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ pub fn black_box(mut dummy: f64) -> f64 {
1010
);
1111
dummy
1212
}
13-
}
13+
}

lexical-write-integer/src/decimal.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,8 @@ decimal_impl! { u32 u64 }
276276
impl Decimal for u128 {
277277
#[inline(always)]
278278
fn decimal(self, buffer: &mut [u8]) -> usize {
279-
// SAFETY: safe since we've guaranteed the buffer is large enough to hold the max value.
279+
// SAFETY: safe since we've guaranteed the buffer is large enough to hold the
280+
// max value.
280281
let count = self.digit_count();
281282
assert!(count <= buffer.len());
282283
unsafe {

0 commit comments

Comments
 (0)