diff options
Diffstat (limited to 'src/bytes_mut.rs')
-rw-r--r-- | src/bytes_mut.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/bytes_mut.rs b/src/bytes_mut.rs index c3131a3..dc4e4b1 100644 --- a/src/bytes_mut.rs +++ b/src/bytes_mut.rs @@ -9,7 +9,6 @@ use alloc::{vec::Vec, string::String, boxed::Box, borrow::{Borrow, BorrowMut}}; use crate::{Bytes, Buf, BufMut}; use crate::bytes::Vtable; use crate::buf::IntoIter; -use crate::debug; use crate::loom::sync::atomic::{self, AtomicPtr, AtomicUsize, Ordering}; /// A unique reference to a contiguous slice of memory. @@ -1074,12 +1073,6 @@ impl Default for BytesMut { } } -impl fmt::Debug for BytesMut { - fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { - fmt::Debug::fmt(&debug::BsDebug(&self.as_slice()), fmt) - } -} - impl hash::Hash for BytesMut { fn hash<H>(&self, state: &mut H) where H: hash::Hasher { let s: &[u8] = self.as_ref(); |