Skip to content

Commit 84e724b

Browse files
committed
rename duplicate get_time -> with_system_time
1 parent 490c618 commit 84e724b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ mod reference {
7474
*TIME.get_or_init(Mutex::default).lock().unwrap()
7575
}
7676

77-
pub fn get_time() -> Duration {
77+
pub fn with_system_time() -> Duration {
7878
let t = SYSTEM_TIME.get_or_init(Mutex::default);
7979
let mut t = t.lock().unwrap();
8080
d(&mut t);

0 commit comments

Comments
 (0)