]> git.proxmox.com Git - cargo.git/commitdiff
Auto merge of #7324 - Eh2406:two-copys-of-hash, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 4 Sep 2019 16:32:40 +0000 (16:32 +0000)
committerbors <bors@rust-lang.org>
Wed, 4 Sep 2019 16:32:40 +0000 (16:32 +0000)
don't need to copy this string

This removes a `String::clone` that I noticed when profiling no-op builds of cargo, benchmarks show a barely visible improvement. Looks like it was added in #6880, but I am not sure why.


Trivial merge