Skip to content

Commit bd886eb

Browse files
committed
review feedback
1 parent cc4a8cd commit bd886eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

futures-util/src/stream/futures_ordered.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ impl<Fut: Future> FuturesOrdered<Fut> {
135135
/// This function will not call `poll` on the submitted future. The caller
136136
/// must ensure that `FuturesOrdered::poll` is called in order to receive
137137
/// task notifications.
138-
#[deprecated]
138+
#[deprecated(note = "use `push_back` instead")]
139139
pub fn push(&mut self, future: Fut) {
140140
let wrapped = OrderWrapper { data: future, index: self.next_incoming_index };
141141
self.next_incoming_index += 1;

0 commit comments

Comments
 (0)