Remove the From<InternedString> for String impl.
It's not used.
This commit is contained in:
parent
0e27c36145
commit
cb7eacb1d2
1 changed files with 0 additions and 6 deletions
|
|
@ -840,12 +840,6 @@ impl<'a> PartialEq<InternedString> for &'a String {
|
|||
}
|
||||
}
|
||||
|
||||
impl std::convert::From<InternedString> for String {
|
||||
fn from(val: InternedString) -> String {
|
||||
val.as_symbol().to_string()
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Debug for InternedString {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
self.with(|str| fmt::Debug::fmt(&str, f))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue