Indent
This commit is contained in:
parent
74d34614cf
commit
9159d3fea0
@ -36,10 +36,7 @@ fn main() {
|
||||
|
||||
let exit = Arc::new(Condvar::new());
|
||||
let e = exit.clone();
|
||||
CtrlC::set_handler(move || {
|
||||
e.notify_all();
|
||||
});
|
||||
|
||||
CtrlC::set_handler(move || { e.notify_all(); });
|
||||
let mutex = Mutex::new(());
|
||||
let _ = exit.wait(mutex.lock().unwrap()).unwrap();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user