diff --git a/src/fs/raw_dir.rs b/src/fs/raw_dir.rs index 9691ca715..a821ad523 100644 --- a/src/fs/raw_dir.rs +++ b/src/fs/raw_dir.rs @@ -199,7 +199,7 @@ impl<'buf, Fd: AsFd> RawDir<'buf, Fd> { /// with GAT support once one becomes available. #[allow(unsafe_code)] #[allow(clippy::should_implement_trait)] - pub fn next(&mut self) -> Option>> { + pub fn next(&mut self) -> Option>> { if self.is_buffer_empty() { match getdents_uninit(self.fd.as_fd(), self.buf) { Ok(0) => return None,