mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 21:43:37 +00:00
Remove the unneeded destructuring assignment in run
in project-model/src/build_scripts.rs
This commit is contained in:
parent
ad6810e90b
commit
b3d2012659
1 changed files with 2 additions and 2 deletions
|
@ -147,8 +147,8 @@ impl WorkspaceBuildScripts {
|
|||
let out_dir = message.out_dir.into_os_string();
|
||||
if !out_dir.is_empty() {
|
||||
let data = outputs[package].get_or_insert_with(Default::default);
|
||||
let out_dir = Some(AbsPathBuf::assert(PathBuf::from(out_dir)));
|
||||
(data.out_dir, data.cfgs) = (out_dir, cfgs);
|
||||
data.out_dir = Some(AbsPathBuf::assert(PathBuf::from(out_dir)));
|
||||
data.cfgs = cfgs;
|
||||
}
|
||||
if !message.env.is_empty() {
|
||||
outputs[package].get_or_insert_with(Default::default).envs =
|
||||
|
|
Loading…
Reference in a new issue