send-stream: rely on cleaning up waker for Stopped in SendStream Drop impl
@@ -313,13 +313,6 @@ impl Future for Stopped<'_> {
}
}
-impl<'a> Drop for Stopped<'a> {
- fn drop(&mut self) {
- let mut conn = self.stream.conn.state.lock("Stopped::drop");
- conn.stopped.remove(&self.stream.stream);
- }
-}
-
/// Future produced by [`SendStream::write()`].
///
/// [`SendStream::write()`]: crate::SendStream::write
