diff --git a/parser/src/command/assign.rs b/parser/src/command/assign.rs
index a774e7ad..7d9e34c9 100644
--- a/parser/src/command/assign.rs
+++ b/parser/src/command/assign.rs
@@ -47,7 +47,7 @@ impl AssignCommand {
if let Some(Token::Dot) | Some(Token::EndOfLine) = toks.peek_token()? {
toks.next_token()?;
*input = toks;
- return Ok(Some(AssignCommand::Own));
+ Ok(Some(AssignCommand::Own))
} else {
return Err(toks.error(ParseError::ExpectedEnd));
}
@@ -97,9 +97,9 @@ impl AssignCommand {
mod tests {
use super::*;
- fn parse<'a>(input: &'a str) -> Result