diff options
| author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2021-06-18 19:38:10 +0100 |
|---|---|---|
| committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2021-06-18 19:40:31 +0100 |
| commit | c8bddf3bd1e94d134d6fc58871eb107c43b9529b (patch) | |
| tree | c99ec60788eec4015a4c837dd18aa717c2511669 /library/std/src | |
| parent | 622a45d1b89f77d8c315c58e104069caa8f83a5d (diff) | |
| download | rust-c8bddf3bd1e94d134d6fc58871eb107c43b9529b.tar.gz rust-c8bddf3bd1e94d134d6fc58871eb107c43b9529b.zip | |
ErrorKind::NotSeekable: Fix reference to File::open()
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/io/error.rs | 2 |
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. |
