From 61674490ecdfdd9af5b5696feaed605774a81134 Mon Sep 17 00:00:00 2001 From: FranchuFranchu Date: Mon, 4 Mar 2024 10:50:16 -0300 Subject: [PATCH] Make maybe_grow crate-public --- src/util/maybe_grow.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }