Skip to content

Commit

Permalink
Remove some minor, unused code.
Browse files Browse the repository at this point in the history
I think this was left behind as part of rust-lang#5359.
  • Loading branch information
ehuss committed Jun 4, 2018
1 parent 04b2cd9 commit ce07b75
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 ce07b75

Please sign in to comment.