Skip to content

Commit 8e2b4b2

Browse files
committed
Update wording of Instant and SystemTime docs
… per aturon’s proposal.
1 parent 2195302 commit 8e2b4b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libstd/time/mod.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ pub use self::duration::Duration;
2222

2323
mod duration;
2424

25-
/// A measurement of a monotonically increasing clock,
26-
/// only meaningful within one process.
25+
/// A measurement of a monotonically increasing clock.
26+
/// Opaque and useful only with `Duration`.
2727
///
2828
/// Instants are always guaranteed to be greater than any previously measured
2929
/// instant when created, and are often useful for tasks such as measuring
@@ -43,8 +43,8 @@ mod duration;
4343
#[unstable(feature = "time2", reason = "recently added", issue = "29866")]
4444
pub struct Instant(time::Instant);
4545

46-
/// A measurement of the system clock appropriate for timestamps meaningful
47-
/// outside one process, such as those on files on the filesystem.
46+
/// A measurement of the system clock, useful for talking to
47+
/// external entities like the file system or other processes.
4848
///
4949
/// Distinct from the `Instant` type, this time measurement **is not
5050
/// monotonic**. This means that you can save a file to the file system, then

0 commit comments

Comments
 (0)