Skip to content

Commit

Permalink
runtime: remove obsolete method
Browse files Browse the repository at this point in the history
  • Loading branch information
e00E committed Apr 23, 2024
1 parent 31f43bf commit a9e4625
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tokio/src/runtime/task/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,12 +272,6 @@ impl<T: Future, S: Schedule> Cell<T, S> {
}
}

impl<T: Future> CoreStage<T> {
pub(super) fn with_mut<R>(&self, f: impl FnOnce(*mut Stage<T>) -> R) -> R {
self.stage.with_mut(f)
}
}

/// Set and clear the task id in the context when the future is executed or
/// dropped, or when the output produced by the future is dropped.
pub(crate) struct TaskIdGuard {
Expand Down

0 comments on commit a9e4625

Please sign in to comment.