Skip to content

Commit

Permalink
refactor: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
NKID00 committed Aug 25, 2024
1 parent c78d199 commit a735a1a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions monoio/src/task/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,6 @@ impl State {
Snapshot(self.0.load(Acquire))
}

#[allow(dead_code)]
pub(crate) fn store(&self, val: Snapshot) {
self.0.store(val.0, Release);
}

/// Attempt to transition the lifecycle to `Running`. This sets the
/// notified bit to false so notifications during the poll can be detected.
pub(super) fn transition_to_running(&self) {
Expand Down

0 comments on commit a735a1a

Please sign in to comment.