Error when moving untimed entry to new time
This commit is contained in:
parent
1ac39c69f2
commit
73a44a697a
4 changed files with 18 additions and 4 deletions
|
|
@ -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!(),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue