Skip to content

Commit

Permalink
fix(parser): Don't stackoverflow on opt-level=0
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Mar 18, 2024
1 parent 7f81084 commit 27a6cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/toml_edit/src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pub(crate) mod prelude {
current: usize,
}

const LIMIT: usize = 128;
const LIMIT: usize = 100;

#[cfg(not(feature = "unbounded"))]
impl RecursionCheck {
Expand Down

0 comments on commit 27a6cb4

Please sign in to comment.