Skip to content

Commit b4c0b0f

Browse files
committed
Proofread doc for SinkExt::feed*
1 parent d82d0e8 commit b4c0b0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

futures-util/src/sink/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ pub trait SinkExt<Item>: Sink<Item> {
220220
/// by the sink.
221221
///
222222
/// Unlike `send`, the returned future does not flush the sink.
223-
/// It is the responsibility of the caller to ensure all pending items
223+
/// It is the caller's responsibility to ensure all pending items
224224
/// are processed, which can be done via `flush` or `close`.
225225
fn feed(&mut self, item: Item) -> Feed<'_, Self, Item>
226226
where Self: Unpin,
@@ -259,7 +259,7 @@ pub trait SinkExt<Item>: Sink<Item> {
259259
///
260260
/// Unlike `send_all`, the returned future does not fully flush the sink
261261
/// before completion.
262-
/// It is the responsibility of the caller to ensure all pending items
262+
/// It is the caller's responsibility to ensure all pending items
263263
/// are processed, which can be done via `flush` or `close`.
264264
fn feed_all<'a, St>(
265265
&'a mut self,
@@ -303,7 +303,7 @@ pub trait SinkExt<Item>: Sink<Item> {
303303
{
304304
CompatSink::new(self)
305305
}
306-
306+
307307
/// A convenience method for calling [`Sink::poll_ready`] on [`Unpin`]
308308
/// sink types.
309309
fn poll_ready_unpin(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>

0 commit comments

Comments
 (0)