diff --git a/Cargo.toml b/Cargo.toml index d2691c1..05cf028 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "internment" -version = "0.8.0" +version = "0.8.1" authors = ["David Roundy "] edition = "2018" diff --git a/src/arc.rs b/src/arc.rs index 6a0f7bd..c1c28ef 100644 --- a/src/arc.rs +++ b/src/arc.rs @@ -459,8 +459,6 @@ fn test_arcintern_nested_drop() { impl Debug for ArcIntern { fn fmt(&self, f: &mut std::fmt::Formatter) -> Result<(), std::fmt::Error> { - Pointer::fmt(&self.pointer, f)?; - f.write_str(" : ")?; self.deref().fmt(f) } } diff --git a/src/arena.rs b/src/arena.rs index 90552ce..7d53f41 100644 --- a/src/arena.rs +++ b/src/arena.rs @@ -387,8 +387,6 @@ impl<'a, T: ?Sized> Eq for ArenaIntern<'a, T> {} impl<'a, T: std::fmt::Debug + ?Sized> std::fmt::Debug for ArenaIntern<'a, T> { fn fmt(&self, f: &mut std::fmt::Formatter) -> Result<(), std::fmt::Error> { - std::fmt::Debug::fmt(&self.get_pointer(), f)?; - f.write_str(" : ")?; self.as_ref().fmt(f) } } diff --git a/src/intern.rs b/src/intern.rs index 8daf2cc..d38c991 100644 --- a/src/intern.rs +++ b/src/intern.rs @@ -494,8 +494,6 @@ mod intern_tests { impl Debug for Intern { fn fmt(&self, f: &mut std::fmt::Formatter) -> Result<(), std::fmt::Error> { - std::fmt::Debug::fmt(&self.get_pointer(), f)?; - f.write_str(" : ")?; self.as_ref().fmt(f) } } diff --git a/src/typearena.rs b/src/typearena.rs index cb25026..24475a2 100644 --- a/src/typearena.rs +++ b/src/typearena.rs @@ -504,8 +504,6 @@ mod intern_tests { impl Debug for Intern { fn fmt(&self, f: &mut std::fmt::Formatter) -> Result<(), std::fmt::Error> { - std::fmt::Debug::fmt(&self.get_pointer(), f)?; - f.write_str(" : ")?; self.as_ref().fmt(f) } }