Skip to content

Commit

Permalink
Fix display for ParseError
Browse files Browse the repository at this point in the history
  • Loading branch information
sthiele committed Dec 8, 2023
1 parent 5734e44 commit cab77ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub enum FlatZincError {
MultipleSolveItems,
#[error("No solve item")]
NoSolveItem,
#[error("ParseError: {msg}")]
#[error("ParseError:\n{msg}")]
ParseError { msg: String },
}

Expand Down

0 comments on commit cab77ab

Please sign in to comment.