Skip to content

Commit

Permalink
Fix latest clippy::inconsistent_struct_constructor warning
Browse files Browse the repository at this point in the history
Tested using rustc 1.53.0
  • Loading branch information
Xanewok committed Nov 9, 2021
1 parent ad8863d commit 0ed8d00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/compiler/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1443,6 +1443,8 @@ where
executable,
host,
sysroot,
#[cfg(feature = "dist-client")]
rlib_dep_reader,
arguments,
inputs,
outputs,
Expand All @@ -1452,8 +1454,6 @@ where
dep_info,
cwd,
env_vars,
#[cfg(feature = "dist-client")]
rlib_dep_reader,
}),
weak_toolchain_key,
})
Expand Down
2 changes: 1 addition & 1 deletion src/jobserver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ impl Client {
(Some(Arc::new(helper)), Some(tx))
};

Client { inner, helper, tx }
Client { helper, tx, inner }
}

/// Configures this jobserver to be inherited by the specified command
Expand Down

0 comments on commit 0ed8d00

Please sign in to comment.