DOC: Fix ArrayString docs for push/push_str

This commit is contained in:
bluss
2017-08-08 21:06:47 +02:00
parent e921e81f9f
commit 54457c7db9
+2 -2
View File
@@ -117,7 +117,7 @@ impl<A: Array<Item=u8>> ArrayString<A> {
///
/// 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<A: Array<Item=u8>> ArrayString<A> {
///
/// 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;