Skip to content

Commit da0ea35

Browse files
Fmt Botgithub-actions[bot]
authored andcommitted
2025-10-05 automated rustfmt nightly
1 parent b33216c commit da0ea35

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

io/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,7 @@ impl<T: AsRef<[u8]>> BufRead for Cursor<T> {
304304
}
305305

306306
#[inline]
307-
fn consume(&mut self, amount: usize) {
308-
self.pos = self.pos.saturating_add(amount as u64);
309-
}
307+
fn consume(&mut self, amount: usize) { self.pos = self.pos.saturating_add(amount as u64); }
310308
}
311309

312310
/// A generic trait describing an output stream.

primitives/src/witness.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,7 @@ impl<'a> Arbitrary<'a> for Witness {
629629
mod test {
630630
#[cfg(feature = "alloc")]
631631
use alloc::vec;
632+
632633
use super::*;
633634

634635
// Appends all the indices onto the end of a list of elements.

0 commit comments

Comments
 (0)