ErrorKind::NotSeekable: Fix reference to File::open()

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
This commit is contained in:
Ian Jackson 2021-06-18 19:38:10 +01:00
parent 622a45d1b8
commit c8bddf3bd1

View file

@ -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.