Merge pull request #178 from cuviper/patch-1

DOC: Fix typo in ArrayVec::is_full
This commit is contained in:
bluss
2021-03-25 17:52:12 +01:00
committed by GitHub
+1 -1
View File
@@ -127,7 +127,7 @@ impl<T, const CAP: usize> ArrayVec<T, CAP> {
#[inline(always)] #[inline(always)]
pub fn capacity(&self) -> usize { CAP } pub fn capacity(&self) -> usize { CAP }
/// Return ture if the `ArrayVec` is completely filled to its capacity, false otherwise. /// Return true if the `ArrayVec` is completely filled to its capacity, false otherwise.
/// ///
/// ``` /// ```
/// use arrayvec::ArrayVec; /// use arrayvec::ArrayVec;