diff --git a/src/array_string.rs b/src/array_string.rs index ddf31a8..42e186a 100644 --- a/src/array_string.rs +++ b/src/array_string.rs @@ -117,7 +117,7 @@ impl> ArrayString { /// /// Returns `Ok` if the push succeeds. /// - /// **Errors** if the backing array is not large enough to fit the additional char. + /// ***Panics*** if the backing array is not large enough to fit the additional char. /// /// ``` /// use arrayvec::ArrayString; @@ -168,7 +168,7 @@ impl> ArrayString { /// /// Returns `Ok` if the push succeeds. /// - /// **Errors** if the backing array is not large enough to fit the string. + /// ***Panics*** if the backing array is not large enough to fit the string. /// /// ``` /// use arrayvec::ArrayString;