Skip to content

Commit 784ccc9

Browse files
committed
DOC: Remove warning on ArrayVec's into_inner method
1 parent f5290c1 commit 784ccc9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -614,9 +614,6 @@ impl<A: Array> ArrayVec<A> {
614614
///
615615
/// Return an `Ok` value with the array if length equals capacity,
616616
/// 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.
620617
pub fn into_inner(self) -> Result<A, Self> {
621618
if self.len() < self.capacity() {
622619
Err(self)

0 commit comments

Comments
 (0)