mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
remove clones
This commit is contained in:
parent
66cec4d11a
commit
ac9d1a03a7
2 changed files with 2 additions and 2 deletions
|
@ -1455,7 +1455,7 @@ fn sysroot_to_crate_graph(
|
|||
(SysrootPublicDeps { deps: pub_deps }, libproc_macro)
|
||||
}
|
||||
SysrootMode::Stitched(stitched) => {
|
||||
let cfg_options = create_cfg_options(rustc_cfg.clone());
|
||||
let cfg_options = create_cfg_options(rustc_cfg);
|
||||
let sysroot_crates: FxHashMap<SysrootCrate, CrateId> = stitched
|
||||
.crates()
|
||||
.filter_map(|krate| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue