File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,16 +126,16 @@ impl MultiValue {
126126
127127 /// Creates a `MultiValue` container from vector of values.
128128 ///
129- /// This methods needs *O*(*n*) data movement if the circular buffer doesn't happen to be at the
130- /// beginning of the allocation.
129+ /// This method works in *O*(1) time and does not allocate any additional memory.
131130 #[ inline]
132131 pub fn from_vec ( vec : Vec < Value > ) -> MultiValue {
133132 vec. into ( )
134133 }
135134
136135 /// Consumes the `MultiValue` and returns a vector of values.
137136 ///
138- /// This methods works in *O*(1) time and does not allocate any additional memory.
137+ /// This method needs *O*(*n*) data movement if the circular buffer doesn't happen to be at the
138+ /// beginning of the allocation.
139139 #[ inline]
140140 pub fn into_vec ( self ) -> Vec < Value > {
141141 self . into ( )
You can’t perform that action at this time.
0 commit comments