Skip to content

Commit c040216

Browse files
committed
fmt
1 parent c3d98de commit c040216

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ async fn on_error(error: poise::FrameworkError<'_, Data, Error>) {
4343
None => "Please check the help menu for usage information",
4444
};
4545
let response = if let Some(input) = input {
46-
format!(
47-
"**Cannot parse `{input}` as argument: {error}**\n{usage}"
48-
)
46+
format!("**Cannot parse `{input}` as argument: {error}**\n{usage}")
4947
} else {
5048
format!("### {error}\n{usage}")
5149
};

0 commit comments

Comments
 (0)