Skip to content

Commit 6540304

Browse files
Febriananda Wida Pramuditaytmimi
Febriananda Wida Pramudita
authored andcommitted
add test and simplify code
1 parent 3854ce9 commit 6540304

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

tests/source/issue-6147/expect_changed.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pub fn main() {
2-
let a = Some(12)
2+
let a = Some(12);
33
match a {
44
#![attr1]
55
#![attr2]
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
pub fn main() {
2-
let a = Some(12)
2+
let a = Some(12);
33
match a {
44
#![attr1]
55
#![attr2]
66
#![attr3]
7-
_ => None,
7+
_ => None,
88
}
99

1010
{
1111
match a {
1212
#![attr1]
1313
#![attr2]
1414
#![attr3]
15-
_ => None,
15+
_ => None,
1616
}
1717
}
1818
}
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
pub fn main() {
2-
let a = Some(12)
2+
let a = Some(12);
33
match a {
44
#![attr1]
55
#![attr2]
66
#![attr3]
7-
_ => None,
7+
_ => None,
88
}
99

1010
{
1111
match a {
1212
#![attr1]
1313
#![attr2]
1414
#![attr3]
15-
_ => None,
15+
_ => None,
1616
}
1717
}
1818
}

0 commit comments

Comments
 (0)