We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aaa9159 + 8c8d2c2 commit 18646a8Copy full SHA for 18646a8
compiler/rustc_metadata/src/locator.rs
@@ -435,7 +435,7 @@ impl<'a> CrateLocator<'a> {
435
info!("lib candidate: {}", spf.path.display());
436
437
let (rlibs, rmetas, dylibs, interfaces) =
438
- candidates.entry(hash.to_string()).or_default();
+ candidates.entry(hash).or_default();
439
{
440
// As a perforamnce optimisation we canonicalize the path and skip
441
// ones we've already seeen. This allows us to ignore crates
0 commit comments