Remove LocalInternedString::as_interned_str()
.
It's unused.
This commit is contained in:
parent
bf536dde3b
commit
69ae8d9dfd
1 changed files with 0 additions and 6 deletions
|
@ -1169,12 +1169,6 @@ impl LocalInternedString {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn as_interned_str(self) -> InternedString {
|
||||
InternedString {
|
||||
symbol: Symbol::intern(self.string)
|
||||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn get(&self) -> &str {
|
||||
// This returns a valid string since we ensure that `self` outlives the interner
|
||||
|
|
Loading…
Reference in a new issue