]> git.lizzy.rs Git - rust.git/commitdiff
Fix Duration::checked_mul documentation
authorEugene Bulkin <ebulkin@caltech.edu>
Wed, 14 Sep 2016 00:32:24 +0000 (17:32 -0700)
committerEugene Bulkin <ebulkin@caltech.edu>
Wed, 14 Sep 2016 00:32:24 +0000 (17:32 -0700)
src/libstd/time/duration.rs

index 12e580fe80184dc45c9c02ce88d486cfa244f4a2..3024a44a208abc0c4ac5e9d47de7f5557a0b8f3f 100644 (file)
@@ -164,7 +164,7 @@ pub fn checked_sub(self, rhs: Duration) -> Option<Duration> {
         }
     }
 
-    /// Checked integer multiplication. Computes `self * other`, returning
+    /// Checked duration multiplication. Computes `self * other`, returning
     /// `None` if underflow or overflow occurred.
     ///
     /// # Examples