about summary refs log tree commit diff
path: root/src/libstd/time
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2015-11-25 22:46:39 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2015-11-25 22:46:39 +0200
commita4c0a6fccda8045a52cc2d5e21bff8d2689ac30c (patch)
tree5ef1531bb0288857e61c23124d6d2093239b091b /src/libstd/time
parente15dd99b7b76f2d5b8dd6b728cdbc25a5859da12 (diff)
downloadrust-a4c0a6fccda8045a52cc2d5e21bff8d2689ac30c.tar.gz
rust-a4c0a6fccda8045a52cc2d5e21bff8d2689ac30c.zip
doc: add missing commas
Diffstat (limited to 'src/libstd/time')
-rw-r--r--src/libstd/time/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/time/mod.rs b/src/libstd/time/mod.rs
index 1c26efb4fbf..5d0d0fd9d2e 100644
--- a/src/libstd/time/mod.rs
+++ b/src/libstd/time/mod.rs
@@ -29,7 +29,7 @@ mod duration;
 /// benchmarks or timing how long an operation takes.
 ///
 /// Note, however, that instants are not guaranteed to be **steady**.  In other
-/// words each tick of the underlying clock may not be the same length (e.g.
+/// words, each tick of the underlying clock may not be the same length (e.g.
 /// some seconds may be longer than others). An instant may jump forwards or
 /// experience time dilation (slow down or speed up), but it will never go
 /// backwards.
@@ -59,7 +59,7 @@ pub struct Instant(time::Instant);
 /// Although a `SystemTime` cannot be directly inspected, the `UNIX_EPOCH`
 /// constant is provided in this module as an anchor in time to learn
 /// information about a `SystemTime`. By calculating the duration from this
-/// fixed point in time a `SystemTime` can be converted to a human-readable time
+/// fixed point in time, a `SystemTime` can be converted to a human-readable time,
 /// or perhaps some other string representation.
 #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
 #[unstable(feature = "time2", reason = "recently added", issue = "29866")]