From 198f0bd43f4501738f1b88726b87361a6a2c04b1 Mon Sep 17 00:00:00 2001 From: "Taylor C. Richberger" Date: Tue, 21 Apr 2020 00:08:29 -0600 Subject: [PATCH] remove unnecessary annotation --- src/commands/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/parser.rs b/src/commands/parser.rs index 24c4fee..5023bb1 100644 --- a/src/commands/parser.rs +++ b/src/commands/parser.rs @@ -31,7 +31,7 @@ pub fn parse_command(original_input: &str) -> IResult<&str, Option (input, result), Err(e) => return Ok((original_input, None)), }; - let (input, command): (&str, Box) = match command { + let (input, command) = match command { "r" | "roll" => { let (input, command) = parse_roll(input)?; let command: Box = Box::new(command);