• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // rustfmt-version: Two
2 pub enum TestEnum {
3     a,
4     b,
5 }
6 
the_test(input: TestEnum)7 fn the_test(input: TestEnum) {
8     match input {
9         TestEnum::a => String::from("aaa"),
10         TestEnum::b => String::from("this is a very very very very very very very very very very very very very very very ong string"),
11 
12     };
13 }
14