common: Improve docs for MilliSecondsSinceUnixEpoch::now

This commit is contained in:
Jonas Platte 2022-04-19 19:37:52 +02:00 committed by Jonas Platte
parent 6b768dc033
commit 733823ea3c

View File

@ -21,7 +21,7 @@ impl MilliSecondsSinceUnixEpoch {
Some(Self(millis)) Some(Self(millis))
} }
/// The current milliseconds since the unix epoch. /// The current system time in milliseconds since the unix epoch.
pub fn now() -> Self { pub fn now() -> Self {
Self::from_system_time(SystemTime::now()).unwrap() Self::from_system_time(SystemTime::now()).unwrap()
} }