Fixed typo
parent
3e9ccf53e1
commit
b3f93117d2
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue