DOC: Remove warning on ArrayVec's into_inner method

This commit is contained in:
bluss
2018-12-01 12:13:37 +01:00
parent f5290c1eea
commit 784ccc97ca
-3
View File
@@ -614,9 +614,6 @@ impl<A: Array> ArrayVec<A> {
///
/// Return an `Ok` value with the array if length equals capacity,
/// return an `Err` with self otherwise.
///
/// `Note:` This function may incur unproportionally large overhead
/// to move the array out, its performance is not optimal.
pub fn into_inner(self) -> Result<A, Self> {
if self.len() < self.capacity() {
Err(self)