Skip to content

Commit

Permalink
fix: make the error header sound less jargony
Browse files Browse the repository at this point in the history
  • Loading branch information
lavafroth committed Aug 24, 2024
1 parent 39655cc commit a91d1ab
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 @@ -22,7 +22,7 @@ pub use crate::token::{Key, KeyAttribute, KeyRepr, Modifier, ModifierRepr};

#[derive(Debug, Error)]
pub enum ParseError {
#[error("unable to parse grammar from invalid contents")]
#[error("unable to parse config file")]
// pest::error::Error being 184 bytes makes this entire enum
// expensive to copy, hence the box is used to put it on the heap.
Grammar(#[from] Box<pest::error::Error<Rule>>),
Expand Down

0 comments on commit a91d1ab

Please sign in to comment.