Merge pull request #121 from badboy/patch-1
Fix word duplication in docs
This commit is contained in:
+1
-1
@@ -522,7 +522,7 @@ impl<A: Array> ArrayVec<A> {
|
|||||||
/// This method is `unsafe` because it changes the notion of the
|
/// This method is `unsafe` because it changes the notion of the
|
||||||
/// number of “valid” elements in the vector. Use with care.
|
/// number of “valid” elements in the vector. Use with care.
|
||||||
///
|
///
|
||||||
/// This method uses *debug assertions* to check that check that `length` is
|
/// This method uses *debug assertions* to check that `length` is
|
||||||
/// not greater than the capacity.
|
/// not greater than the capacity.
|
||||||
#[inline]
|
#[inline]
|
||||||
pub unsafe fn set_len(&mut self, length: usize) {
|
pub unsafe fn set_len(&mut self, length: usize) {
|
||||||
|
|||||||
Reference in New Issue
Block a user