We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2438c0 commit 113a6c2Copy full SHA for 113a6c2
1 file changed
backends/src/ts/inner/mod.rs
@@ -46,19 +46,14 @@ static INVALID: Expr = Expr::Invalid(Invalid {
46
},
47
});
48
49
-#[derive(Debug, Eq, PartialEq)]
+#[derive(Debug, Default, Eq, PartialEq)]
50
enum ItMessageState {
51
+ #[default]
52
NotFound,
53
Found,
54
WarningEmitted,
55
}
56
-impl Default for ItMessageState {
57
- fn default() -> Self {
58
- Self::NotFound
59
- }
60
-}
61
-
62
#[allow(clippy::type_complexity)]
63
pub struct Inner {
64
subdir: PathBuf,
0 commit comments