1 2 3 4 5 6 7 8 9
use std::fmt; use crate::Masked; impl<T> fmt::Debug for Masked<T> { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "Masked<{}>", std::any::type_name::<T>()) } }
1 2 3 4 5 6 7 8 9
use std::fmt; use crate::Masked; impl<T> fmt::Debug for Masked<T> { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "Masked<{}>", std::any::type_name::<T>()) } }