Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make maybe_grow crate-public
Browse files Browse the repository at this point in the history
FranchuFranchu committed Mar 4, 2024
1 parent 28f8b1e commit 6167449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/maybe_grow.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// Guard against stack overflows in recursive functions.
pub fn maybe_grow<R>(f: impl FnOnce() -> R) -> R {
pub(crate) fn maybe_grow<R>(f: impl FnOnce() -> R) -> R {
stacker::maybe_grow(1024 * 32, 1024 * 1024, f)
}

0 comments on commit 6167449

Please sign in to comment.