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:51:01 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2015-11-25 22:51:01 +0200
commit3dd7e6ed7c9e2f71844923c96de18241d4a9fded (patch)
treebcff814fb643cee49047b7d70143bea6f9dbeaf6 /src/libstd/time
parent44665c4e61acd72dc8b3cccee4cb3258a19194d0 (diff)
downloadrust-3dd7e6ed7c9e2f71844923c96de18241d4a9fded.tar.gz
rust-3dd7e6ed7c9e2f71844923c96de18241d4a9fded.zip
doc: fix type name
Diffstat (limited to 'src/libstd/time')
-rw-r--r--src/libstd/time/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/time/mod.rs b/src/libstd/time/mod.rs
index ac8e6ca7d3a..a9d4c79abfc 100644
--- a/src/libstd/time/mod.rs
+++ b/src/libstd/time/mod.rs
@@ -140,7 +140,7 @@ impl SystemTime {
     /// guaranteed to always be before later measurements (due to anomalies such
     /// as the system clock being adjusted either forwards or backwards).
     ///
-    /// If successful, `Ok(duration)` is returned where the duration represents
+    /// If successful, `Ok(Duration)` is returned where the duration represents
     /// the amount of time elapsed from the specified measurement to this one.
     ///
     /// Returns an `Err` if `earlier` is later than `self`, and the error