fix clippy

This commit is contained in:
Bennet Bleßmann
2024-07-06 18:26:34 +02:00
parent b32498b37c
commit 943dce566b
2 changed files with 2 additions and 2 deletions

View File

@@ -125,7 +125,7 @@ mod libraries {
}
pub(crate) fn get(name: &str) -> Option<&'static str> {
LIBRARIES.with(|libs| libs.get(name).map(|&lib| lib))
LIBRARIES.with(|libs| libs.get(name).copied())
}
#[cfg(test)]