We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b33216c commit da0ea35Copy full SHA for da0ea35
io/src/lib.rs
@@ -304,9 +304,7 @@ impl<T: AsRef<[u8]>> BufRead for Cursor<T> {
304
}
305
306
#[inline]
307
- fn consume(&mut self, amount: usize) {
308
- self.pos = self.pos.saturating_add(amount as u64);
309
- }
+ fn consume(&mut self, amount: usize) { self.pos = self.pos.saturating_add(amount as u64); }
310
311
312
/// A generic trait describing an output stream.
primitives/src/witness.rs
@@ -629,6 +629,7 @@ impl<'a> Arbitrary<'a> for Witness {
629
mod test {
630
#[cfg(feature = "alloc")]
631
use alloc::vec;
632
+
633
use super::*;
634
635
// Appends all the indices onto the end of a list of elements.
0 commit comments