From 643f14847a1a1c8fabdc4785cd930c30990e4f20 Mon Sep 17 00:00:00 2001 From: dusk Date: Wed, 8 Oct 2025 13:35:05 +0000 Subject: [PATCH] cargo fmt --- crates/command_definitions/src/import_export.rs | 3 +-- crates/command_definitions/src/system.rs | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/command_definitions/src/import_export.rs b/crates/command_definitions/src/import_export.rs index 1fcfdb4d..beed5e72 100644 --- a/crates/command_definitions/src/import_export.rs +++ b/crates/command_definitions/src/import_export.rs @@ -2,8 +2,7 @@ use super::*; pub fn cmds() -> impl Iterator { [ - command!("import", Optional(("url", OpaqueStringRemainder)) => "import") - .flag(YES), + command!("import", Optional(("url", OpaqueStringRemainder)) => "import").flag(YES), command!("export" => "export"), ] .into_iter() diff --git a/crates/command_definitions/src/system.rs b/crates/command_definitions/src/system.rs index 8fc1c440..4d3b7c4c 100644 --- a/crates/command_definitions/src/system.rs +++ b/crates/command_definitions/src/system.rs @@ -252,8 +252,7 @@ pub fn edit() -> impl Iterator { let system_front = tokens!(system_target, ("front", ["fronter", "fronters", "f"])); let system_front_cmd = [ command!(system_front => "system_fronter"), - command!(system_front, ("history", ["h"]) => "system_fronter_history") - .flag(CLEAR), + command!(system_front, ("history", ["h"]) => "system_fronter_history").flag(CLEAR), command!(system_front, ("percent", ["p", "%"]) => "system_fronter_percent") .flag(("duration", OpaqueString)) .flag(("fronters-only", ["fo"]))