blob: ae3d2ec28c01598282c75593bf88c990041beb4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// rustfmt-style_edition: 2024
pub enum TestEnum {
a,
b,
}
fn the_test(input: TestEnum) {
match input {
TestEnum::a => String::from("aaa"),
TestEnum::b => String::from("this is a very very very very very very very very very very very very very very very ong string"),
};
}
|