From 352283ecec2f985eee3b2c638a916fceabd6dbc1 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Sun, 20 Feb 2022 17:57:41 -0800 Subject: [PATCH] cargo fmt --- src/commands/kanji.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/commands/kanji.rs b/src/commands/kanji.rs index 672fea8..e4b5822 100644 --- a/src/commands/kanji.rs +++ b/src/commands/kanji.rs @@ -117,7 +117,12 @@ async fn i(ctx: &Context, msg: &Message, args: Args) -> CommandResult { character, character, kanji_info )); } - message = format!("Found {} kanji{}\n{}", found_chars.len(), if found_chars.len() == 0 { "." } else { ":" }, message); + message = format!( + "Found {} kanji{}\n{}", + found_chars.len(), + if found_chars.len() == 0 { "." } else { ":" }, + message + ); if skipped_chars > 0 { message.push_str(&format!( "Skipped {} character{}.",