mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
creader: Remove extraenous String::clone
This commit is contained in:
@@ -435,7 +435,7 @@ fn find_library_crate(
|
||||
info!("lib candidate: {}", spf.path.display());
|
||||
|
||||
let (rlibs, rmetas, dylibs, interfaces) =
|
||||
candidates.entry(hash.to_string()).or_default();
|
||||
candidates.entry(hash).or_default();
|
||||
{
|
||||
// As a perforamnce optimisation we canonicalize the path and skip
|
||||
// ones we've already seeen. This allows us to ignore crates
|
||||
|
||||
Reference in New Issue
Block a user