mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +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
@ -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 New Issue
Block a user