Skip to content

Commit cea123c

Browse files
authored
Revert #1552. (#1564)
See [this comment] for details. [this comment]: #1552 (comment)
1 parent f648570 commit cea123c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fs/raw_dir.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ impl<'buf, Fd: AsFd> RawDir<'buf, Fd> {
199199
/// with GAT support once one becomes available.
200200
#[allow(unsafe_code)]
201201
#[allow(clippy::should_implement_trait)]
202-
pub fn next(&mut self) -> Option<io::Result<RawDirEntry<'buf>>> {
202+
pub fn next(&mut self) -> Option<io::Result<RawDirEntry<'_>>> {
203203
if self.is_buffer_empty() {
204204
match getdents_uninit(self.fd.as_fd(), self.buf) {
205205
Ok(0) => return None,

0 commit comments

Comments
 (0)