We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5290c1 commit 784ccc9Copy full SHA for 784ccc9
src/lib.rs
@@ -614,9 +614,6 @@ impl<A: Array> ArrayVec<A> {
614
///
615
/// Return an `Ok` value with the array if length equals capacity,
616
/// return an `Err` with self otherwise.
617
- ///
618
- /// `Note:` This function may incur unproportionally large overhead
619
- /// to move the array out, its performance is not optimal.
620
pub fn into_inner(self) -> Result<A, Self> {
621
if self.len() < self.capacity() {
622
Err(self)
0 commit comments