mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
io: fix typo in AsyncSeekExt::rewind docs (#4893)
This commit is contained in:
@@ -69,7 +69,7 @@ cfg_io_util! {
|
|||||||
|
|
||||||
/// Creates a future which will rewind to the beginning of the stream.
|
/// 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>
|
fn rewind(&mut self) -> Seek<'_, Self>
|
||||||
where
|
where
|
||||||
Self: Unpin,
|
Self: Unpin,
|
||||||
|
|||||||
Reference in New Issue
Block a user