Skip to content

Commit

Permalink
Add one #[allow(clippy::useless_conversion)]
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Sep 8, 2024
1 parent 78d35bd commit e1e5c9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dylint/src/library_packages/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ fn package_with_root(package_root: &Path) -> Result<MetadataPackage> {

fn package_id(package: &MetadataPackage, source_id: SourceId) -> PackageId {
PackageId::new(
#[allow(clippy::useless_conversion)]
package.name.clone().into(),
package.version.clone(),
source_id,
Expand Down

0 comments on commit e1e5c9f

Please sign in to comment.