Skip to content

Commit 3fcbf73

Browse files
committed
Auto merge of #13466 - ehuss:more-redundant-use, r=weihanglo
Fix more redundant imports. The latest nightly has started warning about redundant imports. This removes those warnings. Presumably these were casualties of merging between #13464 and #13409.
2 parents 64ccff2 + b59333a commit 3fcbf73

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/bin/cargo/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use anyhow::{anyhow, Context as _};
22
use cargo::core::shell::Shell;
33
use cargo::core::{features, CliUnstable};
4-
use cargo::{drop_print, drop_println, CargoResult, GlobalContext};
4+
use cargo::{drop_print, drop_println, CargoResult};
55
use clap::builder::UnknownArgumentValueParser;
66
use itertools::Itertools;
77
use std::collections::HashMap;

src/bin/cargo/commands/help.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::aliased_command;
22
use crate::command_prelude::*;
3+
use cargo::drop_println;
34
use cargo::util::errors::CargoResult;
4-
use cargo::{drop_println, GlobalContext};
55
use cargo_util::paths::resolve_executable;
66
use flate2::read::GzDecoder;
77
use std::ffi::OsStr;

src/bin/cargo/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use cargo::util::network::http::http_handle;
44
use cargo::util::network::http::needs_custom_http_transport;
5-
use cargo::util::{self, closest_msg, command_prelude, CargoResult, GlobalContext};
5+
use cargo::util::{self, closest_msg, command_prelude, CargoResult};
66
use cargo_util::{ProcessBuilder, ProcessError};
77
use cargo_util_schemas::manifest::StringOrVec;
88
use std::collections::BTreeMap;

0 commit comments

Comments
 (0)