From 3dd7e6ed7c9e2f71844923c96de18241d4a9fded Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Wed, 25 Nov 2015 22:51:01 +0200 Subject: [PATCH] doc: fix type name --- src/libstd/time/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/time/mod.rs b/src/libstd/time/mod.rs index ac8e6ca7d3ae5..a9d4c79abfcc8 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