We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dd7e6e commit cc815d2Copy full SHA for cc815d2
src/libstd/time/mod.rs
@@ -207,9 +207,8 @@ impl SystemTimeError {
207
/// second system time was from the first.
208
///
209
/// A `SystemTimeError` is returned from the `duration_from_earlier`
210
- /// operation whenever the second duration, `earlier`, actually represents a
211
- /// point later in time than the `self` of the method call. This function
212
- /// will extract and return the amount of time later `earlier` actually is.
+ /// operation whenever the second system time represents a point later
+ /// in time than the `self` of the method call.
213
pub fn duration(&self) -> Duration {
214
self.0
215
}
0 commit comments