mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-22 00:00:11 +02:00
fmt
This commit is contained in:
@@ -406,10 +406,7 @@ impl<T: Future, S: Schedule> Core<T, S> {
|
||||
/// # Safety
|
||||
///
|
||||
/// The caller must ensure it is safe to mutate the `stage` field.
|
||||
pub(super) fn drop_future_or_output(
|
||||
&self,
|
||||
#[cfg(tokio_unstable)] header: NonNull<Header>,
|
||||
) {
|
||||
pub(super) fn drop_future_or_output(&self, #[cfg(tokio_unstable)] header: NonNull<Header>) {
|
||||
#[cfg(tokio_unstable)]
|
||||
let _current_task = {
|
||||
let dropping_future = self.stage.stage.with(|ptr| {
|
||||
|
||||
Reference in New Issue
Block a user