553: Fixed typo r=Dirbaio a=mkb2091



Co-authored-by: mkb2091 <mkb2191@protonmail.com>
This commit is contained in:
bors[bot] 2021-10-20 00:14:15 +00:00 committed by GitHub
commit a1a48b5f36
1 changed files with 2 additions and 2 deletions

View File

@ -90,12 +90,12 @@ impl Instant {
} }
/// The total number of milliseconds that have passed since /// The total number of milliseconds that have passed since
/// the biginning of time. /// the beginning of time.
pub const fn total_millis(&self) -> i64 { pub const fn total_millis(&self) -> i64 {
self.micros / 1000 self.micros / 1000
} }
/// The total number of milliseconds that have passed since /// The total number of milliseconds that have passed since
/// the biginning of time. /// the beginning of time.
pub const fn total_micros(&self) -> i64 { pub const fn total_micros(&self) -> i64 {
self.micros self.micros
} }