Skip to content

Commit

Permalink
Remove duplicated code and ignore deadlock test
Browse files Browse the repository at this point in the history
  • Loading branch information
xFrednet committed May 20, 2022
1 parent 8283238 commit 7842dbc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
21 changes: 0 additions & 21 deletions clippy_dev/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,26 +319,5 @@ fn get_clap_config<'a>() -> ArgMatches<'a> {
.help("This lint will be uplifted into rustc"),
),
)
.subcommand(
SubCommand::with_name("rename_lint")
.about("Renames the given lint")
.arg(
Arg::with_name("old_name")
.index(1)
.required(true)
.help("The name of the lint to rename"),
)
.arg(
Arg::with_name("new_name")
.index(2)
.required_unless("uplift")
.help("The new name of the lint"),
)
.arg(
Arg::with_name("uplift")
.long("uplift")
.help("This lint will be uplifted into rustc"),
),
)
.get_matches()
}
2 changes: 1 addition & 1 deletion clippy_lints/src/significant_drop_in_scrutinee.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ declare_clippy_lint! {
/// the match block and thus will not unlock.
///
/// ### Example
/// ```rust
/// ```rust.ignore
/// # use std::sync::Mutex;
///
/// # struct State {}
Expand Down

0 comments on commit 7842dbc

Please sign in to comment.