We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 197efb0 commit 78b248dCopy full SHA for 78b248d
src/libcore/time.rs
@@ -639,7 +639,7 @@ impl Duration {
639
///
640
/// let dur = Duration::new(2, 700_000_000);
641
/// // note that due to rounding errors result is slightly different
642
- /// // from 8.478 anf 847800.0
+ /// // from 8.478 and 847800.0
643
/// assert_eq!(dur.mul_f32(3.14), Duration::new(8, 478_000_640));
644
/// assert_eq!(dur.mul_f32(3.14e5), Duration::new(847799, 969_120_256));
645
/// ```
0 commit comments