diff options
Diffstat (limited to 'buffered-reader')
-rw-r--r-- | buffered-reader/src/file_error.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/buffered-reader/src/file_error.rs b/buffered-reader/src/file_error.rs index eba444cd..add00e6b 100644 --- a/buffered-reader/src/file_error.rs +++ b/buffered-reader/src/file_error.rs @@ -12,6 +12,7 @@ pub(crate) struct FileError { source: io::Error, } +#[allow(clippy::new_ret_no_self)] impl FileError { /// Returns a new `io::Error` backed by a `FileError`. pub fn new<P: AsRef<Path>>(path: P, source: io::Error) -> io::Error { |