Skip to content

Commit 5fe8904

Browse files
committed
\!is_some => is_none
1 parent d73ba53 commit 5fe8904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/cargo/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ To pass the arguments to the subcommand, remove `--`",
266266
// (binary of the form `cargo-<subcommand>`)
267267
// Currently this is only a warning, but after a transition period this will become
268268
// a hard error.
269-
if !super::builtin_aliases_execs(cmd).is_some() {
269+
if super::builtin_aliases_execs(cmd).is_none() {
270270
if let Some(path) = super::find_external_subcommand(config, cmd) {
271271
config.shell().warn(format!(
272272
"\

0 commit comments

Comments
 (0)