We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7aff88 commit 5eab157Copy full SHA for 5eab157
src/bstr.rs
@@ -30,7 +30,7 @@ impl BorrowedInterned {
30
31
impl Display for Interned {
32
fn fmt(&self, f: &mut Formatter) -> std::fmt::Result {
33
- Display::fmt(self.as_bstr(), f)
+ Display::fmt(self as &BorrowedInterned, f)
34
}
35
36
@@ -42,7 +42,7 @@ impl Display for BorrowedInterned {
42
43
impl Debug for Interned {
44
45
- Debug::fmt(self.as_bstr(), f)
+ Debug::fmt(self as &BorrowedInterned, f)
46
47
48
0 commit comments