Skip to content

Commit ce07b75

Browse files
committed
Remove some minor, unused code.
I think this was left behind as part of #5359.
1 parent 04b2cd9 commit ce07b75

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/cargo/util/config.rs

-3
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ pub struct Config {
4646
home_path: Filesystem,
4747
/// Information about how to write messages to the shell
4848
shell: RefCell<Shell>,
49-
/// Information on how to invoke the compiler (rustc)
50-
rustc: LazyCell<Rustc>,
5149
/// A collection of configuration options
5250
values: LazyCell<HashMap<String, ConfigValue>>,
5351
/// The current working directory of cargo
@@ -113,7 +111,6 @@ impl Config {
113111
Config {
114112
home_path: Filesystem::new(homedir),
115113
shell: RefCell::new(shell),
116-
rustc: LazyCell::new(),
117114
cwd,
118115
values: LazyCell::new(),
119116
cargo_exe: LazyCell::new(),

0 commit comments

Comments
 (0)