We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc4a8cd commit bd886ebCopy full SHA for bd886eb
futures-util/src/stream/futures_ordered.rs
@@ -135,7 +135,7 @@ impl<Fut: Future> FuturesOrdered<Fut> {
135
/// This function will not call `poll` on the submitted future. The caller
136
/// must ensure that `FuturesOrdered::poll` is called in order to receive
137
/// task notifications.
138
- #[deprecated]
+ #[deprecated(note = "use `push_back` instead")]
139
pub fn push(&mut self, future: Fut) {
140
let wrapped = OrderWrapper { data: future, index: self.next_incoming_index };
141
self.next_incoming_index += 1;
0 commit comments