(self, other: Self)
| 165 | /// Performs wrapping subtraction |
| 166 | #[inline] |
| 167 | pub fn wrapping_sub(self, other: Self) -> Self { |
| 168 | Self { |
| 169 | months: self.months.wrapping_sub(other.months), |
| 170 | days: self.days.wrapping_sub(other.days), |
| 171 | nanoseconds: self.nanoseconds.wrapping_sub(other.nanoseconds), |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | /// Performs checked subtraction |
| 176 | #[inline] |
no outgoing calls
no test coverage detected