We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd6764f commit 7349f63Copy full SHA for 7349f63
1 file changed
src/lib.rs
@@ -1273,19 +1273,14 @@ fn split_string(value: &str) -> Vec<String> {
1273
}
1274
1275
1276
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Default)]
1277
enum BuildInternal {
1278
Auto,
1279
Always,
1280
+ #[default]
1281
Never,
1282
1283
-impl Default for BuildInternal {
1284
- fn default() -> Self {
1285
- Self::Never
1286
- }
1287
-}
1288
-
1289
impl FromStr for BuildInternal {
1290
type Err = ParseError;
1291
0 commit comments