diff --git a/src/fs/file.rs b/src/fs/file.rs index ea83f08b..9ab9916f 100644 --- a/src/fs/file.rs +++ b/src/fs/file.rs @@ -162,7 +162,10 @@ impl<'dir> File<'dir> { /// Returns an IO error upon failure, but this shouldn’t be used to check /// if a `File` is a directory or not! For that, just use `is_directory()`. pub fn to_dir(&self) -> io::Result