(&self)
| 137 | |
| 138 | impl TestConfigFlags { |
| 139 | fn to_vec(&self) -> Vec<&str> { |
| 140 | match self { |
| 141 | TestConfigFlags::SpaceSeparated(s) => s.split_whitespace().collect(), |
| 142 | TestConfigFlags::List(s) => s.iter().map(|s| s.as_str()).collect(), |
| 143 | } |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | struct Test { |