forked from AbleScript/ablescript
Obeyed our paperclip overlord + fmt
This commit is contained in:
parent
7057c3cfef
commit
5bdbc2bbb0
|
@ -215,7 +215,7 @@ impl<'a> Parser<'a> {
|
|||
|
||||
let body = self.parse_body()?;
|
||||
|
||||
Ok(Stmt::If { cond: cond, body }.into())
|
||||
Ok(Stmt::If { cond, body }.into())
|
||||
}
|
||||
|
||||
/// Parse loop
|
||||
|
|
|
@ -153,10 +153,8 @@ impl<'a> Parser<'a> {
|
|||
self.lexer.next();
|
||||
return Ok(buf);
|
||||
}
|
||||
None => return Ok(buf.into()),
|
||||
Some(t) => {
|
||||
self.parse_operation(Some(t), buf)?
|
||||
}
|
||||
None => return Ok(buf),
|
||||
Some(t) => self.parse_operation(Some(t), buf)?,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue