File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -193,17 +193,15 @@ impl NullBufferBuilder {
193193 }
194194 }
195195
196- /// Extends this builder with validity values from a trusted length iterator .
196+ /// Extends this builder with validity values.
197197 ///
198- /// This is more efficient than calling `append` in a loop as it processes
199- /// 64 bits at a time internally.
200198 ///
201199 /// # Example
202200 /// ```
203201 /// # use arrow_buffer::NullBufferBuilder;
204202 /// let mut builder = NullBufferBuilder::new(8);
205203 /// let validities = [true, false, true, true];
206- /// builder.extend_from_trusted_len_iter (validities.iter().copied());
204+ /// builder.extend (validities.iter().copied());
207205 /// assert_eq!(builder.len(), 4);
208206 /// ```
209207 pub fn extend < I : Iterator < Item = bool > > ( & mut self , iter : I ) {
You can’t perform that action at this time.
0 commit comments