This commit is contained in:
noah
2026-05-29 16:25:29 -05:00
parent e5bac38fab
commit 625bdc55f7
+1 -4
View File
@@ -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| {