mirror of
https://github.com/figsoda/mmtc
synced 2024-11-21 22:53:02 +00:00
apply clippy suggestion
This commit is contained in:
parent
bc2a20b586
commit
c054ae4c71
1 changed files with 1 additions and 1 deletions
|
@ -506,7 +506,7 @@ async fn run() -> Result<()> {
|
||||||
} else {
|
} else {
|
||||||
match updates.swap(0b000, Ordering::SeqCst) {
|
match updates.swap(0b000, Ordering::SeqCst) {
|
||||||
// wait for more commands or updates if neither were received
|
// wait for more commands or updates if neither were received
|
||||||
x if x == 0b000 => {
|
0b000 => {
|
||||||
thread::park();
|
thread::park();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue