Skip to content

Commit

Permalink
Update timer.rs
Browse files Browse the repository at this point in the history
Remove unnecessary path prefix
  • Loading branch information
xiaoziv authored Apr 4, 2023
1 parent 36acf47 commit 923bbfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/timer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub fn ensure_updater() {
.compare_exchange(false, true, Ordering::SeqCst, Ordering::SeqCst)
.is_ok()
{
std::thread::Builder::new()
thread::Builder::new()
.name("time updater".to_owned())
.spawn(|| loop {
thread::sleep(CHECK_UPDATE_INTERVAL);
Expand Down

0 comments on commit 923bbfb

Please sign in to comment.