Skip to content

Commit

Permalink
Don't double-import mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
zkxs committed Oct 24, 2023
1 parent 1e0719d commit aae63cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ fn main() {
};

#[cfg(target_os = "linux")] {
use std::sync::{Arc, Mutex, Condvar};
use std::sync::{Arc, Condvar};

let condvar_pair = Arc::new((Mutex::new(false), Condvar::new()));

Expand Down

0 comments on commit aae63cc

Please sign in to comment.