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