mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
update generated.rs
This commit is contained in:
parent
8cca6242f8
commit
01e3022521
@ -129,8 +129,7 @@ fn doctest_add_missing_match_arms() {
|
||||
enum Action { Move { distance: u32 }, Stop }
|
||||
|
||||
fn handle(action: Action) {
|
||||
match action {
|
||||
$0
|
||||
match action $0 {
|
||||
}
|
||||
}
|
||||
"#####,
|
||||
@ -138,7 +137,7 @@ fn handle(action: Action) {
|
||||
enum Action { Move { distance: u32 }, Stop }
|
||||
|
||||
fn handle(action: Action) {
|
||||
match action {
|
||||
match action {
|
||||
$0Action::Move { distance } => todo!(),
|
||||
Action::Stop => todo!(),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user