diff --git a/src/util/maybe_grow.rs b/src/util/maybe_grow.rs index 11c04cf8..e0d3fb31 100644 --- a/src/util/maybe_grow.rs +++ b/src/util/maybe_grow.rs @@ -1,4 +1,4 @@ /// Guard against stack overflows in recursive functions. -pub fn maybe_grow(f: impl FnOnce() -> R) -> R { +pub(crate) fn maybe_grow(f: impl FnOnce() -> R) -> R { stacker::maybe_grow(1024 * 32, 1024 * 1024, f) }