Skip to content

Commit

Permalink
io: fix typo in AsyncSeekExt::rewind docs (#4893)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomio authored Aug 10, 2022
1 parent 2099d0b commit aea0947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/io/util/async_seek_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ cfg_io_util! {

/// Creates a future which will rewind to the beginning of the stream.
///
/// This is convenience method, equivalent to to `self.seek(SeekFrom::Start(0))`.
/// This is convenience method, equivalent to `self.seek(SeekFrom::Start(0))`.
fn rewind(&mut self) -> Seek<'_, Self>
where
Self: Unpin,
Expand Down

0 comments on commit aea0947

Please sign in to comment.