Skip to content

Commit

Permalink
Fix dead code warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mox692 committed Mar 29, 2024
1 parent 2d5f2f3 commit 0281e2a
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 0281e2a

Please sign in to comment.