Skip to content

Commit 78b248d

Browse files
authored
fix typo
1 parent 197efb0 commit 78b248d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/time.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ impl Duration {
639639
///
640640
/// let dur = Duration::new(2, 700_000_000);
641641
/// // note that due to rounding errors result is slightly different
642-
/// // from 8.478 anf 847800.0
642+
/// // from 8.478 and 847800.0
643643
/// assert_eq!(dur.mul_f32(3.14), Duration::new(8, 478_000_640));
644644
/// assert_eq!(dur.mul_f32(3.14e5), Duration::new(847799, 969_120_256));
645645
/// ```

0 commit comments

Comments
 (0)