Skip to content

Commit

Permalink
fix(parser): Ensure recursion errors get shown to user
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Jul 29, 2024
1 parent e922b5c commit c9f97eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/toml_edit/src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ pub(crate) mod prelude {
_input,
winnow::error::ErrorKind::Eof,
super::error::CustomError::RecursionLimitExceeded,
));
)
.cut());
}
}
Ok(self)
Expand Down

0 comments on commit c9f97eb

Please sign in to comment.