Skip to content

Commit 5eab157

Browse files
committed
minor change
1 parent b7aff88 commit 5eab157

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bstr.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl BorrowedInterned {
3030

3131
impl Display for Interned {
3232
fn fmt(&self, f: &mut Formatter) -> std::fmt::Result {
33-
Display::fmt(self.as_bstr(), f)
33+
Display::fmt(self as &BorrowedInterned, f)
3434
}
3535
}
3636

@@ -42,7 +42,7 @@ impl Display for BorrowedInterned {
4242

4343
impl Debug for Interned {
4444
fn fmt(&self, f: &mut Formatter) -> std::fmt::Result {
45-
Debug::fmt(self.as_bstr(), f)
45+
Debug::fmt(self as &BorrowedInterned, f)
4646
}
4747
}
4848

0 commit comments

Comments
 (0)