Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov authored Mar 12, 2019
1 parent 197efb0 commit 78b248d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ impl Duration {
///
/// let dur = Duration::new(2, 700_000_000);
/// // note that due to rounding errors result is slightly different
/// // from 8.478 anf 847800.0
/// // from 8.478 and 847800.0
/// assert_eq!(dur.mul_f32(3.14), Duration::new(8, 478_000_640));
/// assert_eq!(dur.mul_f32(3.14e5), Duration::new(847799, 969_120_256));
/// ```
Expand Down

0 comments on commit 78b248d

Please sign in to comment.