Merge pull request #178 from cuviper/patch-1
DOC: Fix typo in ArrayVec::is_full
This commit is contained in:
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user