diff options
Diffstat (limited to 'gen/src/fs.rs')
-rw-r--r-- | gen/src/fs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gen/src/fs.rs b/gen/src/fs.rs index 7bc3bbcb..a96b551f 100644 --- a/gen/src/fs.rs +++ b/gen/src/fs.rs @@ -14,7 +14,7 @@ pub(crate) struct Error { } impl Error { - pub fn kind(&self) -> io::ErrorKind { + pub(crate) fn kind(&self) -> io::ErrorKind { match &self.source { Some(io_error) => io_error.kind(), None => io::ErrorKind::Other, |