mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-29 10:58:02 +00:00
refactor: Remove unnecessary Arc
This commit is contained in:
parent
7edfeb9674
commit
b5eedad8e3
11 changed files with 22 additions and 26 deletions
|
|
@ -207,7 +207,7 @@ impl ChangeFixture {
|
|||
meta.edition,
|
||||
Some(crate_name.clone().into()),
|
||||
version,
|
||||
From::from(meta.cfg.clone()),
|
||||
meta.cfg.clone(),
|
||||
Some(meta.cfg),
|
||||
meta.env,
|
||||
origin,
|
||||
|
|
@ -247,7 +247,7 @@ impl ChangeFixture {
|
|||
Edition::CURRENT,
|
||||
Some(CrateName::new("ra_test_fixture").unwrap().into()),
|
||||
None,
|
||||
From::from(default_cfg.clone()),
|
||||
default_cfg.clone(),
|
||||
Some(default_cfg),
|
||||
default_env,
|
||||
CrateOrigin::Local { repo: None, name: None },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue