impl Debug for dense_store::Rename

This commit is contained in:
Adam Gausmann 2022-11-11 20:08:21 -06:00
parent 4234140165
commit 6c2368f4cb

View file

@ -93,3 +93,12 @@ pub struct Rename<T> {
pub src: Index<T>,
pub dest: Index<T>,
}
impl<T> Debug for Rename<T> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_struct("Rename")
.field("src", &self.src)
.field("dest", &self.dest)
.finish()
}
}