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/libcollections/string.rs | |
| parent | 09707d70a48b7bb1a180f44e233dfe36b196ad46 (diff) | |
| download | rust-5cfac942018b3f8e0b384c49d6564fcff25634e6.tar.gz rust-5cfac942018b3f8e0b384c49d6564fcff25634e6.zip | |
Deprecate Equiv
Diffstat (limited to 'src/libcollections/string.rs')
| -rw-r--r-- | src/libcollections/string.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcollections/string.rs b/src/libcollections/string.rs index 8917afa34b1..fbb0bb5c4ce 100644 --- a/src/libcollections/string.rs +++ b/src/libcollections/string.rs @@ -822,7 +822,8 @@ impl<H: hash::Writer> hash::Hash<H> for String { } } -#[experimental = "waiting on Equiv stabilization"] +#[allow(deprecated)] +#[deprecated = "Use overloaded `core::cmp::PartialEq`"] impl<'a, S: Str> Equiv<S> for String { #[inline] fn equiv(&self, other: &S) -> bool { |
