From bd886ebe30eef1af21ae05804e47cf803b077684 Mon Sep 17 00:00:00 2001 From: conorbros Date: Sun, 5 Jun 2022 21:55:14 +1000 Subject: [PATCH] review feedback --- futures-util/src/stream/futures_ordered.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/futures-util/src/stream/futures_ordered.rs b/futures-util/src/stream/futures_ordered.rs index bb103640f6..e6410e1dc0 100644 --- a/futures-util/src/stream/futures_ordered.rs +++ b/futures-util/src/stream/futures_ordered.rs @@ -135,7 +135,7 @@ impl FuturesOrdered { /// This function will not call `poll` on the submitted future. The caller /// must ensure that `FuturesOrdered::poll` is called in order to receive /// task notifications. - #[deprecated] + #[deprecated(note = "use `push_back` instead")] pub fn push(&mut self, future: Fut) { let wrapped = OrderWrapper { data: future, index: self.next_incoming_index }; self.next_incoming_index += 1;