commit 4640e0fd1c1d21cff059e117d138022db3bfcadc
parent 99bfadf185c80b631be1dcb3a7ac2252cef6b537
Author: triesap <tyson@radroots.org>
Date: Sun, 22 Feb 2026 02:41:44 +0000
types: format helper status label expression
- run rustfmt for the types crate manifest scope
- normalize compact conditional formatting in status label helper
- keep types crate semantics unchanged with formatting-only edits
- preserve types tests and feature-gated paths after formatting
Diffstat:
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/crates/types/src/types.rs b/crates/types/src/types.rs
@@ -64,10 +64,6 @@ impl IResultPass {
}
pub fn status_label(&self) -> &'static str {
- if self.pass {
- "pass"
- } else {
- "fail"
- }
+ if self.pass { "pass" } else { "fail" }
}
}