# Errors -> # Panics

This commit is contained in:
Andrew Dirksen 2018-11-21 17:42:57 -08:00
parent 7306f69271
commit b1d611d89f
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ impl<T> StackWithLimit<T> {
/// ); /// );
/// ``` /// ```
/// ///
/// # Errors /// # Panics
/// ///
/// In debug mode, panics if `initial_size` is larger than `limit`. /// In debug mode, panics if `initial_size` is larger than `limit`.
pub fn new(initial_size: StackSizeInitial<T>, limit: StackSizeLimit<T>) -> StackWithLimit<T> { pub fn new(initial_size: StackSizeInitial<T>, limit: StackSizeLimit<T>) -> StackWithLimit<T> {