Skip to content

Don't rewrite it in Rust. Rewrite the 5% that's slow: profile your app, port the hot functions with your coding agent, prove they behave the same. Python, JS/TS, Ruby, Java, Kotlin, Go, PHP, C/C++, C#, R.

style: format clean_parses test to match rustfmt

ashp152050d5a649b66bc
diff --git a/src/main.rs b/src/main.rs
index 2b35af2..59ae663 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -238,10 +238,7 @@ mod tests {
#[test]
fn clean_parses() {
- assert!(matches!(
- Cli::try_parse_from(["fast-anything", "clean"]).unwrap().cmd,
- Cmd::Clean { all: false }
- ));
+ assert!(matches!(Cli::try_parse_from(["fast-anything", "clean"]).unwrap().cmd, Cmd::Clean { all: false }));
assert!(matches!(
Cli::try_parse_from(["fast-anything", "clean", "--all"]).unwrap().cmd,
Cmd::Clean { all: true }