diff --git a/swarm/src/behaviour/toggle.rs b/swarm/src/behaviour/toggle.rs
index 5c23ee099a3..e81c5343701 100644
--- a/swarm/src/behaviour/toggle.rs
+++ b/swarm/src/behaviour/toggle.rs
@@ -363,4 +363,12 @@ where
}
}
}
+
+ fn poll_close(&mut self, cx: &mut Context<'_>) -> Poll