minivec/
debug.rs

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