Fix word duplication in docs

This commit is contained in:
Jan-Erik Rediger
2019-04-22 14:29:08 +02:00
committed by GitHub
parent fd4a6469b9
commit 841ca1492b
+1 -1
View File
@@ -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) {