Skip to content

Commit 49ce472

Browse files
committed
ErrorKind::NotSeekable: Fix reference to File::open()
Signed-off-by: Ian Jackson <[email protected]>
1 parent a7d8d04 commit 49ce472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/io/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ pub enum ErrorKind {
206206
/// Seek on unseekable file
207207
///
208208
/// Seeking was attempted on an open file handle which is not suitable for seeking - for
209-
/// example, on Unix, a named pipe opened with `File::new`.
209+
/// example, on Unix, a named pipe opened with `File::open`.
210210
#[unstable(feature = "io_error_more", issue = "86442")]
211211
NotSeekable,
212212
/// Filesystem quota was exceeded.

0 commit comments

Comments
 (0)