@@ -100,7 +100,7 @@ mod if_std {
100
100
///
101
101
/// If no data is available for reading, the method returns
102
102
/// `Ok(Poll::Pending)` and arranges for the current task (via
103
- /// `cx.waker().wake ()`) to receive a notification when the object becomes
103
+ /// `cx.waker().wake_by_ref ()`) to receive a notification when the object becomes
104
104
/// readable or is closed.
105
105
///
106
106
/// # Implementation
@@ -122,7 +122,7 @@ mod if_std {
122
122
///
123
123
/// If no data is available for reading, the method returns
124
124
/// `Ok(Poll::Pending)` and arranges for the current task (via
125
- /// `cx.waker().wake ()`) to receive a notification when the object becomes
125
+ /// `cx.waker().wake_by_ref ()`) to receive a notification when the object becomes
126
126
/// readable or is closed.
127
127
/// By default, this method delegates to using `poll_read` on the first
128
128
/// buffer in `vec`. Objects which support vectored IO should override
@@ -160,7 +160,7 @@ mod if_std {
160
160
///
161
161
/// If the object is not ready for writing, the method returns
162
162
/// `Ok(Poll::Pending)` and arranges for the current task (via
163
- /// `cx.waker().wake ()`) to receive a notification when the object becomes
163
+ /// `cx.waker().wake_by_ref ()`) to receive a notification when the object becomes
164
164
/// readable or is closed.
165
165
///
166
166
/// # Implementation
@@ -182,7 +182,7 @@ mod if_std {
182
182
///
183
183
/// If the object is not ready for writing, the method returns
184
184
/// `Ok(Poll::Pending)` and arranges for the current task (via
185
- /// `cx.waker().wake ()`) to receive a notification when the object becomes
185
+ /// `cx.waker().wake_by_ref ()`) to receive a notification when the object becomes
186
186
/// readable or is closed.
187
187
///
188
188
/// By default, this method delegates to using `poll_write` on the first
@@ -213,7 +213,7 @@ mod if_std {
213
213
///
214
214
/// If flushing cannot immediately complete, this method returns
215
215
/// `Ok(Poll::Pending)` and arranges for the current task (via
216
- /// `cx.waker().wake ()`) to receive a notification when the object can make
216
+ /// `cx.waker().wake_by_ref ()`) to receive a notification when the object can make
217
217
/// progress towards flushing.
218
218
///
219
219
/// # Implementation
@@ -230,7 +230,7 @@ mod if_std {
230
230
///
231
231
/// If closing cannot immediately complete, this function returns
232
232
/// `Ok(Poll::Pending)` and arranges for the current task (via
233
- /// `cx.waker().wake ()`) to receive a notification when the object can make
233
+ /// `cx.waker().wake_by_ref ()`) to receive a notification when the object can make
234
234
/// progress towards closing.
235
235
///
236
236
/// # Implementation
0 commit comments