We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dc05b4 commit f67d674Copy full SHA for f67d674
src/lib.rs
@@ -606,9 +606,6 @@ impl<A: Array> ArrayVec<A> {
606
///
607
/// Return an `Ok` value with the array if length equals capacity,
608
/// return an `Err` with self otherwise.
609
- ///
610
- /// `Note:` This function may incur unproportionally large overhead
611
- /// to move the array out, its performance is not optimal.
612
pub fn into_inner(self) -> Result<A, Self> {
613
if self.len() < self.capacity() {
614
Err(self)
0 commit comments