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:47:17 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2015-11-25 22:47:17 +0200
commitd447ceaedb08c1409e3c11b1cf616d2770d5559d (patch)
tree90aee3263f93f3e81a65b286e4c03ffe44e892b2 /src/libstd/time
parenta4c0a6fccda8045a52cc2d5e21bff8d2689ac30c (diff)
downloadrust-d447ceaedb08c1409e3c11b1cf616d2770d5559d.tar.gz
rust-d447ceaedb08c1409e3c11b1cf616d2770d5559d.zip
doc: split overlong sentence
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 5d0d0fd9d2e..3633f66fa59 100644
--- a/src/libstd/time/mod.rs
+++ b/src/libstd/time/mod.rs
@@ -35,8 +35,8 @@ mod duration;
 /// backwards.
 ///
 /// Instants are opaque types that can only be compared to one another. There is
-/// no method to get "the number of seconds" from an instant but instead it only
-/// allow learning the duration between two instants (or comparing two
+/// no method to get "the number of seconds" from an instant. Instead, it only
+/// allows measuring the duration between two instants (or comparing two
 /// instants).
 #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
 #[unstable(feature = "time2", reason = "recently added", issue = "29866")]