tidy
This commit is contained in:
parent
22e5194396
commit
8d2e3816bc
|
@ -455,8 +455,8 @@ enum Action { Move { distance: u32 }, Stop }
|
|||
|
||||
fn handle(action: Action) {
|
||||
match action {
|
||||
$0Action::Move { distance } => {}
|
||||
Action::Stop => {}
|
||||
$0Action::Move { distance } => todo!(),
|
||||
Action::Stop => todo!(),
|
||||
}
|
||||
}
|
||||
"#####,
|
||||
|
|
|
@ -275,6 +275,7 @@ fn check_todo(path: &Path, text: &str) {
|
|||
// Some of our assists generate `todo!()`.
|
||||
"handlers/add_turbo_fish.rs",
|
||||
"handlers/generate_function.rs",
|
||||
"handlers/fill_match_arms.rs",
|
||||
// To support generating `todo!()` in assists, we have `expr_todo()` in
|
||||
// `ast::make`.
|
||||
"ast/make.rs",
|
||||
|
|
Loading…
Reference in a new issue