From e1e5c9f1b2b19133ce61df77a8b9dbca8d74600c Mon Sep 17 00:00:00 2001 From: Samuel Moelius Date: Sat, 7 Sep 2024 13:50:01 +0000 Subject: [PATCH] Add one `#[allow(clippy::useless_conversion)]` --- dylint/src/library_packages/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/dylint/src/library_packages/mod.rs b/dylint/src/library_packages/mod.rs index 09352217f..ad283d52b 100644 --- a/dylint/src/library_packages/mod.rs +++ b/dylint/src/library_packages/mod.rs @@ -417,6 +417,7 @@ fn package_with_root(package_root: &Path) -> Result { fn package_id(package: &MetadataPackage, source_id: SourceId) -> PackageId { PackageId::new( + #[allow(clippy::useless_conversion)] package.name.clone().into(), package.version.clone(), source_id,