Skip to content

Commit

Permalink
Fix dead code warning (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
mox692 committed Mar 29, 2024
1 parent 6432357 commit 753befd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rt/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl Id {
#[derive(Debug, Clone, Copy)]
pub(crate) enum State {
Runnable { unparked: bool },
Blocked(Location),
Blocked(#[allow(dead_code)] Location),
Yield,
Terminated,
}
Expand Down

0 comments on commit 753befd

Please sign in to comment.