(&self, other: &Self)
| 127 | } |
| 128 | impl<Alloc: IAlloc> Ord for String<Alloc> { |
| 129 | fn cmp(&self, other: &Self) -> core::cmp::Ordering { |
| 130 | self.as_str().cmp(other.as_str()) |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | impl<Alloc: IAlloc + Default> From<&str> for String<Alloc> { |