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
Fixes #702
  • Loading branch information
epage committed Mar 18, 2024
1 parent af1f97d commit 21f545d
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 @@ -99,7 +99,7 @@ pub(crate) mod prelude {
}

#[cfg(not(feature = "unbounded"))]
const LIMIT: usize = 128;
const LIMIT: usize = 100;

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

0 comments on commit 21f545d

Please sign in to comment.