more clippy fixes:

clippy::search_is_some
clippy::redundant_static_lifetimes
clippy::match_single_binding
clippy::match_ref_pats
clippy::map_entry
clippy::manual_map
clippy::iter_overeager_cloned
clippy::into_iter_on_ref
clippy::extra_unused_lifetimes
This commit is contained in:
Matthias Krüger 2022-03-12 15:57:57 +01:00
parent 56e4ea59d9
commit 5a0078c9d1
6 changed files with 15 additions and 24 deletions

View file

@ -78,7 +78,7 @@ pub(super) fn ra_fixture(
Some(())
}
const RUSTDOC_FENCE: &'static str = "```";
const RUSTDOC_FENCE: &str = "```";
/// Injection of syntax highlighting of doctests.
pub(super) fn doc_comment(