smol bot
Diffstat (limited to 'src/bot/search.rs')
| -rw-r--r-- | src/bot/search.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bot/search.rs b/src/bot/search.rs index 21a9f9b..28dac9a 100644 --- a/src/bot/search.rs +++ b/src/bot/search.rs @@ -123,7 +123,7 @@ pub struct Data { pub fn files() -> impl Iterator<Item = (PathBuf, u64)> { super::SPECIAL .entries() - .filter_map(|(&ch, &dir)| { + .filter_map(|(&ch, &super::Ch { d: dir, .. })| { std::fs::read_dir(Path::new("repo").join(dir)) .ok() .map(|x| (x, ch)) |