summaryrefslogtreecommitdiffstats
path: root/tokio/src/io/async_seek.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/io/async_seek.rs')
-rw-r--r--tokio/src/io/async_seek.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/io/async_seek.rs b/tokio/src/io/async_seek.rs
index f3e6fcdc..0be9c90d 100644
--- a/tokio/src/io/async_seek.rs
+++ b/tokio/src/io/async_seek.rs
@@ -16,7 +16,7 @@ use std::task::{Context, Poll};
/// [`Seek::seek`]: std::io::Seek::seek()
/// [`AsyncSeekExt`]: crate::io::AsyncSeekExt
pub trait AsyncSeek {
- /// Attempt to seek to an offset, in bytes, in a stream.
+ /// Attempts to seek to an offset, in bytes, in a stream.
///
/// A seek beyond the end of a stream is allowed, but behavior is defined
/// by the implementation.
@@ -29,7 +29,7 @@ pub trait AsyncSeek {
position: SeekFrom,
) -> Poll<io::Result<()>>;
- /// Wait for a seek operation to complete.
+ /// Waits for a seek operation to complete.
///
/// If the seek operation completed successfully,
/// this method returns the new position from the start of the stream.