From c8bddf3bd1e94d134d6fc58871eb107c43b9529b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 18 Jun 2021 19:38:10 +0100 Subject: [PATCH] ErrorKind::NotSeekable: Fix reference to File::open() Signed-off-by: Ian Jackson --- library/std/src/io/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/io/error.rs b/library/std/src/io/error.rs index f07e469f5293..b59d75920445 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.