diff --git a/src/multi.rs b/src/multi.rs index b4fb0e2..c171962 100644 --- a/src/multi.rs +++ b/src/multi.rs @@ -126,8 +126,7 @@ impl MultiValue { /// Creates a `MultiValue` container from vector of values. /// - /// This methods needs *O*(*n*) data movement if the circular buffer doesn't happen to be at the - /// beginning of the allocation. + /// This method works in *O*(1) time and does not allocate any additional memory. #[inline] pub fn from_vec(vec: Vec) -> MultiValue { vec.into() @@ -135,7 +134,8 @@ impl MultiValue { /// Consumes the `MultiValue` and returns a vector of values. /// - /// This methods works in *O*(1) time and does not allocate any additional memory. + /// This method needs *O*(*n*) data movement if the circular buffer doesn't happen to be at the + /// beginning of the allocation. #[inline] pub fn into_vec(self) -> Vec { self.into()