Unified · Split
| @@ -4,6 +4,12 @@ pub struct Support { · 3 unmodified lines | |||
| 4 | bat_found: bool, | 4 | bat_found: bool, |
| 5 | } | 5 | } |
| 6 | 6 | ||
| 7 | impl Default for Support { | ||
| 8 | fn default() -> Self { | ||
| 9 | Self::new() | ||
| 10 | } | ||
| 11 | } | ||
| 12 | |||
| 7 | impl Support { | 13 | impl Support { |
| 8 | pub fn new() -> Self { | 14 | pub fn new() -> Self { |
| 9 | Support { | 15 | Support { |