cargo fmt
This commit is contained in:
parent
e112be0d87
commit
352283ecec
1 changed files with 6 additions and 1 deletions
|
@ -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{}.",
|
||||
|
|
Loading…
Add table
Reference in a new issue