blob: 3e669a0bb75626aadb478f79e79a0c1d35b2e953 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// rustfmt-version: Two
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",
),
};
}
|