File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -126,16 +126,16 @@ impl MultiValue {
126
126
127
127
/// Creates a `MultiValue` container from vector of values.
128
128
///
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.
131
130
#[ inline]
132
131
pub fn from_vec ( vec : Vec < Value > ) -> MultiValue {
133
132
vec. into ( )
134
133
}
135
134
136
135
/// Consumes the `MultiValue` and returns a vector of values.
137
136
///
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.
139
139
#[ inline]
140
140
pub fn into_vec ( self ) -> Vec < Value > {
141
141
self . into ( )
You can’t perform that action at this time.
0 commit comments