cleared up some clippy issues. natural command progress

This commit is contained in:
jude
2020-09-25 12:48:44 +01:00
parent 8e99cc088a
commit 6002aa2170
4 changed files with 73 additions and 26 deletions

View File

@ -182,7 +182,7 @@ enum SubCommand {
#[permission_level(Managed)]
async fn todo_parse(ctx: &Context, msg: &Message, args: String) -> CommandResult {
let mut split = args.split(" ");
let mut split = args.split(' ');
if let Some(target) = split.next() {
let target_opt = match target {