Skip to content

Commit

Permalink
DOC: Remove warning on ArrayVec's into_inner method
Browse files Browse the repository at this point in the history
  • Loading branch information
bluss committed Dec 1, 2018
1 parent 9dc05b4 commit f67d674
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -606,9 +606,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)
Expand Down

0 comments on commit f67d674

Please sign in to comment.