]> git.lizzy.rs Git - rust.git/commitdiff
Reword description of SystemTimeError.
authorTomasz Miąsko <tomasz.miasko@gmail.com>
Wed, 28 Sep 2016 22:00:00 +0000 (00:00 +0200)
committerTomasz Miąsko <tomasz.miasko@gmail.com>
Thu, 29 Sep 2016 18:08:46 +0000 (20:08 +0200)
Repalce timestamp with a system time, to be more consistent with
remaining documentation.

src/libstd/time/mod.rs

index 154f603c84f162f591c7fd75b8b8541676ca6024..6854f1e14fa137e3f3fa2ef99d98705b3bb5d271 100644 (file)
 pub struct SystemTime(time::SystemTime);
 
 /// An error returned from the `duration_since` method on `SystemTime`,
-/// used to learn about why how far in the opposite direction a timestamp lies.
+/// used to learn how far in the opposite direction a system time lies.
 #[derive(Clone, Debug)]
 #[stable(feature = "time2", since = "1.8.0")]
 pub struct SystemTimeError(Duration);