Skip to content

Commit f67d674

Browse files
committed
DOC: Remove warning on ArrayVec's into_inner method
1 parent 9dc05b4 commit f67d674

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/lib.rs

-3
Original file line numberDiff line numberDiff line change
@@ -606,9 +606,6 @@ impl<A: Array> ArrayVec<A> {
606606
///
607607
/// Return an `Ok` value with the array if length equals capacity,
608608
/// 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.
612609
pub fn into_inner(self) -> Result<A, Self> {
613610
if self.len() < self.capacity() {
614611
Err(self)

0 commit comments

Comments
 (0)