From: Eric Huss Date: Mon, 4 Jun 2018 15:08:37 +0000 (-0700) Subject: Remove some minor, unused code. X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2^2~6^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ce07b75fc9119bd5034a6080e9b2142d98b0bdf0;p=cargo.git Remove some minor, unused code. I think this was left behind as part of #5359. --- diff --git a/src/cargo/util/config.rs b/src/cargo/util/config.rs index 6af6dc919..2b4bdf565 100644 --- a/src/cargo/util/config.rs +++ b/src/cargo/util/config.rs @@ -46,8 +46,6 @@ pub struct Config { home_path: Filesystem, /// Information about how to write messages to the shell shell: RefCell, - /// Information on how to invoke the compiler (rustc) - rustc: LazyCell, /// A collection of configuration options values: LazyCell>, /// The current working directory of cargo @@ -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(),