Merge #553
553: Fixed typo r=Dirbaio a=mkb2091 Co-authored-by: mkb2091 <mkb2191@protonmail.com>master
commit
a1a48b5f36
|
@ -90,12 +90,12 @@ impl Instant {
|
|||
}
|
||||
|
||||
/// The total number of milliseconds that have passed since
|
||||
/// the biginning of time.
|
||||
/// the beginning of time.
|
||||
pub const fn total_millis(&self) -> i64 {
|
||||
self.micros / 1000
|
||||
}
|
||||
/// The total number of milliseconds that have passed since
|
||||
/// the biginning of time.
|
||||
/// the beginning of time.
|
||||
pub const fn total_micros(&self) -> i64 {
|
||||
self.micros
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue