diff options
Diffstat (limited to 'src/bytes.rs')
-rw-r--r-- | src/bytes.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/bytes.rs b/src/bytes.rs index 0ca6138..d70852a 100644 --- a/src/bytes.rs +++ b/src/bytes.rs @@ -6,7 +6,6 @@ use alloc::{vec::Vec, string::String, boxed::Box, borrow::Borrow}; use crate::Buf; use crate::buf::IntoIter; -use crate::debug; use crate::loom::sync::atomic::{self, AtomicPtr, AtomicUsize, Ordering}; /// A reference counted contiguous slice of memory. @@ -496,12 +495,6 @@ impl Clone for Bytes { } } -impl fmt::Debug for Bytes { - fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - fmt::Debug::fmt(&debug::BsDebug(&self.as_slice()), f) - } -} - impl Buf for Bytes { #[inline] fn remaining(&self) -> usize { |