From dfda3d5ea3db5ea5dde23a987c1ae5b652d532db Mon Sep 17 00:00:00 2001 From: Luke Street Date: Sun, 29 Sep 2024 12:02:55 -0600 Subject: [PATCH] Fix todo! in FileIterator::next_path --- src/util/file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/file.rs b/src/util/file.rs index 03b09ea..659ab9a 100644 --- a/src/util/file.rs +++ b/src/util/file.rs @@ -426,7 +426,7 @@ impl FileIterator { self.index += 1; match map_file(&path) { Ok(FileEntry::MappedFile(map)) => self.handle_file(map, path), - Ok(FileEntry::Buffer(_, _)) => todo!(), + Ok(entry) => Some(Ok((path, entry))), Err(err) => Some(Err(err)), } }