Skip to content

Commit

Permalink
Auto merge of #5607 - ehuss:config-rustc, r=matklad
Browse files Browse the repository at this point in the history
Remove some minor, unused code.

I think this was left behind as part of #5359.
  • Loading branch information
bors committed Jun 4, 2018
2 parents 04b2cd9 + ce07b75 commit d33c65c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/cargo/util/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ pub struct Config {
home_path: Filesystem,
/// Information about how to write messages to the shell
shell: RefCell<Shell>,
/// Information on how to invoke the compiler (rustc)
rustc: LazyCell<Rustc>,
/// A collection of configuration options
values: LazyCell<HashMap<String, ConfigValue>>,
/// The current working directory of cargo
Expand Down Expand Up @@ -113,7 +111,6 @@ impl Config {
Config {
home_path: Filesystem::new(homedir),
shell: RefCell::new(shell),
rustc: LazyCell::new(),
cwd,
values: LazyCell::new(),
cargo_exe: LazyCell::new(),
Expand Down

0 comments on commit d33c65c

Please sign in to comment.