tustvold commented on code in PR #4140:
URL: https://github.com/apache/arrow-rs/pull/4140#discussion_r1177792629


##########
arrow-array/src/builder/boolean_buffer_builder.rs:
##########
@@ -214,12 +214,12 @@ impl BooleanBufferBuilder {
         self.buffer.as_slice_mut()
     }
 
-    /// Creates a [`Buffer`]
+    /// Creates a [`BooleanBuffer`]
     #[inline]
-    pub fn finish(&mut self) -> Buffer {
+    pub fn finish(&mut self) -> BooleanBuffer {

Review Comment:
   I felt it was better to just break the API, than leaving the API in a 
somewhat incoherent state, where a type called `BooleanBufferBuilder` doesn't 
actually build `BooleanBuffer`



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to