We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 490c618 commit 84e724bCopy full SHA for 84e724b
src/lib.rs
@@ -74,7 +74,7 @@ mod reference {
74
*TIME.get_or_init(Mutex::default).lock().unwrap()
75
}
76
77
- pub fn get_time() -> Duration {
+ pub fn with_system_time() -> Duration {
78
let t = SYSTEM_TIME.get_or_init(Mutex::default);
79
let mut t = t.lock().unwrap();
80
d(&mut t);
0 commit comments