We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 898e94f commit 42e765bCopy full SHA for 42e765b
1 file changed
crates/libtest-json/src/event.rs
@@ -441,10 +441,12 @@ impl RunComplete {
441
}
442
443
444
+#[cfg(feature = "serde")]
445
fn true_default() -> bool {
446
true
447
448
449
450
fn is_true(yes: &bool) -> bool {
451
*yes
452
@@ -467,6 +469,7 @@ impl RunMode {
467
469
468
470
471
472
+ #[cfg(any(feature = "serde", feature = "json"))]
473
fn is_default(&self) -> bool {
474
*self == Default::default()
475
0 commit comments