diff --git a/src/common/stack.rs b/src/common/stack.rs index 19580cc..c9d8409 100644 --- a/src/common/stack.rs +++ b/src/common/stack.rs @@ -46,7 +46,7 @@ impl StackWithLimit { /// ); /// ``` /// - /// # Errors + /// # Panics /// /// In debug mode, panics if `initial_size` is larger than `limit`. pub fn new(initial_size: StackSizeInitial, limit: StackSizeLimit) -> StackWithLimit {