diff options
author | Konrad Borowski <konrad@borowski.pw> | 2023-03-02 16:32:23 +0100 |
---|---|---|
committer | Konrad Borowski <konrad@borowski.pw> | 2023-03-02 16:32:23 +0100 |
commit | e248d0c8373d960187c92f7e5a7557410036e77d (patch) | |
tree | 004b945dd05ff2287e100f90d84393aeacb8dbab | |
parent | bc3f6542f39474565f3e7fbe34b9bab45d46789b (diff) | |
download | rust-e248d0c8373d960187c92f7e5a7557410036e77d.tar.gz |
Remove manual implementation of String::ne
-rw-r--r-- | library/alloc/src/string.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/library/alloc/src/string.rs b/library/alloc/src/string.rs index 2b843647dd5..c7e7ed3e95e 100644 --- a/library/alloc/src/string.rs +++ b/library/alloc/src/string.rs @@ -2213,10 +2213,6 @@ impl PartialEq for String { fn eq(&self, other: &String) -> bool { PartialEq::eq(&self[..], &other[..]) } - #[inline] - fn ne(&self, other: &String) -> bool { - PartialEq::ne(&self[..], &other[..]) - } } macro_rules! impl_eq { |