commit d8f722ca51aed19e0a4d6dbbe0520661af98359f
parent 9d4b3d628d874059633138f598905ae89f9b9c9d
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" }
}
}