about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/std/src/io/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/io/error.rs b/library/std/src/io/error.rs
index f07e469f529..b59d7592044 100644
--- a/library/std/src/io/error.rs
+++ b/library/std/src/io/error.rs
@@ -206,7 +206,7 @@ pub enum ErrorKind {
     /// Seek on unseekable file
     ///
     /// Seeking was attempted on an open file handle which is not suitable for seeking - for
-    /// example, on Unix, a named pipe opened with `File::new`.
+    /// example, on Unix, a named pipe opened with `File::open`.
     #[unstable(feature = "io_error_more", issue = "86442")]
     NotSeekable,
     /// Filesystem quota was exceeded.