tustvold commented on a change in pull request #6980: URL: https://github.com/apache/arrow/pull/6980#discussion_r411174949
########## File path: rust/arrow/src/array/builder.rs ########## @@ -301,6 +324,21 @@ impl BufferBuilderTrait<BooleanType> for BufferBuilder<BooleanType> { Ok(()) } + fn append_n(&mut self, n: usize, v: bool) -> Result<()> { + self.reserve(n)?; + if v { + unsafe { + bit_util::set_bits_raw( + self.buffer.raw_data() as *mut u8, Review comment: Changed, and fixed the others in the same file ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org