We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Encodable
Decodable
LocalInternedString
1 parent 6025fc8 commit a1cd79fCopy full SHA for a1cd79f
src/libsyntax_pos/symbol.rs
@@ -1231,18 +1231,6 @@ impl fmt::Display for LocalInternedString {
1231
}
1232
1233
1234
-impl Decodable for LocalInternedString {
1235
- fn decode<D: Decoder>(d: &mut D) -> Result<LocalInternedString, D::Error> {
1236
- Ok(LocalInternedString::intern(&d.read_str()?))
1237
- }
1238
-}
1239
-
1240
-impl Encodable for LocalInternedString {
1241
- fn encode<S: Encoder>(&self, s: &mut S) -> Result<(), S::Error> {
1242
- s.emit_str(self.string)
1243
1244
1245
1246
/// An alternative to `Symbol` that is focused on string contents. It has two
1247
/// main differences to `Symbol`.
1248
///
0 commit comments