Rollup merge of #141732 - osiewicz:creader-remove-extraenous-string-clone, r=Kobzol
creader: Remove extraenous String::clone A leftover from rust-lang/rust#132910
This commit is contained in:
commit
18646a8a7f
1 changed files with 1 additions and 1 deletions
|
|
@ -435,7 +435,7 @@ impl<'a> CrateLocator<'a> {
|
|||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue