(&self, other: &Rhs)
| 122 | impl<Alloc: IAlloc> Eq for String<Alloc> {} |
| 123 | impl<Alloc: IAlloc, Rhs: AsRef<str>> PartialOrd<Rhs> for String<Alloc> { |
| 124 | fn partial_cmp(&self, other: &Rhs) -> Option<core::cmp::Ordering> { |
| 125 | self.as_str().partial_cmp(other.as_ref()) |
| 126 | } |
| 127 | } |
| 128 | impl<Alloc: IAlloc> Ord for String<Alloc> { |
| 129 | fn cmp(&self, other: &Self) -> core::cmp::Ordering { |