From 733823ea3cfeb72dd161607a8384f78847e56210 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Tue, 19 Apr 2022 19:37:52 +0200 Subject: [PATCH] common: Improve docs for MilliSecondsSinceUnixEpoch::now --- crates/ruma-common/src/time.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruma-common/src/time.rs b/crates/ruma-common/src/time.rs index 5d74bb4e..5a699ef1 100644 --- a/crates/ruma-common/src/time.rs +++ b/crates/ruma-common/src/time.rs @@ -21,7 +21,7 @@ impl MilliSecondsSinceUnixEpoch { Some(Self(millis)) } - /// The current milliseconds since the unix epoch. + /// The current system time in milliseconds since the unix epoch. pub fn now() -> Self { Self::from_system_time(SystemTime::now()).unwrap() }