diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2014-11-26 23:50:12 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2014-12-03 10:41:48 -0500 |
| commit | 5cfac942018b3f8e0b384c49d6564fcff25634e6 (patch) | |
| tree | a8ff3c15e0553d35fd3a2f1c2f93cbd1038858a9 /src/libsyntax/parse | |
| parent | 09707d70a48b7bb1a180f44e233dfe36b196ad46 (diff) | |
| download | rust-5cfac942018b3f8e0b384c49d6564fcff25634e6.tar.gz rust-5cfac942018b3f8e0b384c49d6564fcff25634e6.zip | |
Deprecate Equiv
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/token.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index 1376f59d79f..52b54bc7f2d 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -623,6 +623,7 @@ impl fmt::Show for InternedString { } } +#[allow(deprecated)] impl<'a> Equiv<&'a str> for InternedString { fn equiv(&self, other: & &'a str) -> bool { (*other) == self.string.as_slice() |
