Skip to content

Commit

Permalink
fix(frontend): improve clarity of error message
Browse files Browse the repository at this point in the history
  • Loading branch information
nfejzic committed Jan 8, 2022
1 parent 184acdf commit 9c64da6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub fn parse_unimarkup(um_file: &Path) -> Result<UnimarkupBlocks, UmError> {
}
Rule::blank_line | Rule::EOI => continue,
_ => unreachable!(
"Unimarkup consists only of blank lines, atomic and enclosed blocks, but reached block: {:#?}",
"Unimarkup consists only of blank lines and atomic and enclosed blocks, but reached block: {:#?}",
pair
),
}
Expand Down

0 comments on commit 9c64da6

Please sign in to comment.