Remove the From<InternedString> for String impl.

It's not used.
This commit is contained in:
Nicholas Nethercote 2019-05-09 12:14:30 +10:00
parent 0e27c36145
commit cb7eacb1d2

View file

@ -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))