impl Debug for dense_store::Rename
This commit is contained in:
parent
4234140165
commit
6c2368f4cb
1 changed files with 9 additions and 0 deletions
|
|
@ -93,3 +93,12 @@ pub struct Rename<T> {
|
||||||
pub src: Index<T>,
|
pub src: Index<T>,
|
||||||
pub dest: 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()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue