]> git.lizzy.rs Git - rust.git/commitdiff
Remove unused variable
authorOliver Schneider <github35764891676564198441@oli-obk.de>
Wed, 11 Jul 2018 08:35:49 +0000 (10:35 +0200)
committerGitHub <noreply@github.com>
Wed, 11 Jul 2018 08:35:49 +0000 (10:35 +0200)
src/bootstrap/tool.rs

index 9ff289d5b562fc8bf3839e639fa748966725ff93..42c65b750d33c42469a3c9438f5fecf18a0ecb67 100644 (file)
@@ -607,7 +607,6 @@ fn run(mut $sel, $builder: &Builder) -> Option<PathBuf> {
             target: self.target,
             extra_features: Vec::new(),
         });
-        let channel = &builder.config.channel;
         if clippy.is_some() {
             self.extra_features.push("clippy".to_owned());
         }