diff options
| author | Artyom Pavlov <newpavlov@gmail.com> | 2019-03-12 16:42:18 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-12 16:42:18 +0300 |
| commit | 78b248dc4c17581211aaed5c3a449e5b07ebdb52 (patch) | |
| tree | b690d6d6908a07f8374c965f0599cc88f9638b96 | |
| parent | 197efb05243976a631107f1d6ad88bff65fd43e9 (diff) | |
| download | rust-78b248dc4c17581211aaed5c3a449e5b07ebdb52.tar.gz rust-78b248dc4c17581211aaed5c3a449e5b07ebdb52.zip | |
fix typo
| -rw-r--r-- | src/libcore/time.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/time.rs b/src/libcore/time.rs index f106d06d2ff..ae6d8078fd2 100644 --- a/src/libcore/time.rs +++ b/src/libcore/time.rs @@ -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)); /// ``` |
