Skip to content

Commit b2985dc

Browse files
committed
fmt
1 parent 0088224 commit b2985dc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/main.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,7 @@ fn main_menu(commands: &HashMap<&str, &str>) -> String {
143143
menu = commands
144144
.iter()
145145
.fold(menu, |mut menu, (base_cmd, description)| {
146-
menu += &format!(
147-
"\t{cmd:<8}{desc}\n",
148-
cmd = base_cmd,
149-
desc = description
150-
);
146+
menu += &format!("\t{cmd:<8}{desc}\n", cmd = base_cmd, desc = description);
151147
menu
152148
});
153149

0 commit comments

Comments
 (0)