Error when moving untimed entry to new time

This commit is contained in:
Joscha 2021-12-21 19:33:55 +01:00
parent 1ac39c69f2
commit 73a44a697a
4 changed files with 18 additions and 4 deletions

View file

@ -624,7 +624,7 @@ fn parse_stmt_move(p: Pair<'_, Rule>) -> Result<Statement> {
for p in p {
match p.as_rule() {
Rule::datum => to = Some(parse_datum(p)?.value),
Rule::time => to_time = Some(parse_time(p)?.value),
Rule::time => to_time = Some(parse_time(p)?),
_ => unreachable!(),
}
}