1 2 3 4 5 6 7 8 9
use crate::MiniVec;
impl<T: core::fmt::Debug> core::fmt::Debug for MiniVec<T> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
let this: &[T] = &*self;
this.fmt(f)
}
}
1 2 3 4 5 6 7 8 9
use crate::MiniVec;
impl<T: core::fmt::Debug> core::fmt::Debug for MiniVec<T> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
let this: &[T] = &*self;
this.fmt(f)
}
}