Skip to content

Commit

Permalink
Fix new clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
beatbrot committed Jan 9, 2025
1 parent 41d5161 commit 71b35e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ impl Cache {
.path()
.file_name()
.and_then(OsStr::to_str)
.map_or(false, |file_name| file_name.ends_with(".page.md"))
.is_some_and(|file_name| file_name.ends_with(".page.md"))
};

let custom_pages = WalkDir::new(custom_pages_dir)
Expand Down

0 comments on commit 71b35e3

Please sign in to comment.