add test and simplify code

This commit is contained in:
Febriananda Wida Pramudita 2024-04-13 23:03:10 +07:00 committed by Yacin Tmimi
parent 3854ce9aca
commit 6540304790
3 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,5 @@
pub fn main() {
let a = Some(12)
let a = Some(12);
match a {
#![attr1]
#![attr2]

View file

@ -1,10 +1,10 @@
pub fn main() {
let a = Some(12)
let a = Some(12);
match a {
#![attr1]
#![attr2]
#![attr3]
_ => None,
_ => None,
}
{
@ -12,7 +12,7 @@ pub fn main() {
#![attr1]
#![attr2]
#![attr3]
_ => None,
_ => None,
}
}
}

View file

@ -1,10 +1,10 @@
pub fn main() {
let a = Some(12)
let a = Some(12);
match a {
#![attr1]
#![attr2]
#![attr3]
_ => None,
_ => None,
}
{
@ -12,7 +12,7 @@ pub fn main() {
#![attr1]
#![attr2]
#![attr3]
_ => None,
_ => None,
}
}
}