(&self, other: &Self)
| 202 | impl<T: PartialOrd + Copy> PartialOrd for Lock<T> { |
| 203 | #[inline] |
| 204 | fn partial_cmp(&self, other: &Self) -> Option<Ordering> { |
| 205 | self.get().partial_cmp(&other.get()) |
| 206 | } |
| 207 | } |
| 208 | |
| 209 | // Can't use `#[derive]` because of the non-standard bounds. |