Skip to content

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tazz4843 committed Feb 7, 2025
1 parent aff347c commit 1669eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbb_markdown/src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ pub fn insert_into_cache(path: PathBuf, html: String) -> bool {
RENDERER_CACHE
.get_or_init(DashMap::new)
.insert(path, html)
.map_or(false, |_| true)
.is_some_and(|_| true)
}

0 comments on commit 1669eac

Please sign in to comment.