From 9e979cef7217519e116a4d54b60bbbf21348a0aa Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 18 Sep 2023 12:40:40 +0200 Subject: Run ‘cargo fmt’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 977627d..6c74669 100644 --- a/src/main.rs +++ b/src/main.rs @@ -19,7 +19,6 @@ use { tempfile::tempdir, }; - const MMV_DEFAULT_NAME: &str = "mmv"; const MCP_DEFAULT_NAME: &str = "mcp"; @@ -92,9 +91,15 @@ fn usage(bad_flags: Option) -> ! { let p = Path::new(&argv0).file_name().unwrap(); let mcp_name = option_env!("MCP_NAME").unwrap_or(MCP_DEFAULT_NAME); if p == mcp_name { - eprintln!("Usage: {} [-0deiv] command [argument ...]", p.to_str().unwrap()); + eprintln!( + "Usage: {} [-0deiv] command [argument ...]", + p.to_str().unwrap() + ); } else { - eprintln!("Usage: {} [-0deinv] command [argument ...]", p.to_str().unwrap()); + eprintln!( + "Usage: {} [-0deinv] command [argument ...]", + p.to_str().unwrap() + ); } process::exit(1); } -- cgit v1.2.3