From b2550a092e34aa40f8786f45ff67cab96c93695d Mon Sep 17 00:00:00 2001 From: Aleksey Krasnobaev Date: Wed, 28 Aug 2024 20:10:35 +0300 Subject: [PATCH] docs(rust): Fix BinViewChunkedBuilder arguments (#17277) (#18439) --- crates/polars-core/src/chunked_array/builder/string.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/polars-core/src/chunked_array/builder/string.rs b/crates/polars-core/src/chunked_array/builder/string.rs index 36c1d90492bc..eab5ff463838 100644 --- a/crates/polars-core/src/chunked_array/builder/string.rs +++ b/crates/polars-core/src/chunked_array/builder/string.rs @@ -18,12 +18,11 @@ pub type StringChunkedBuilder = BinViewChunkedBuilder; pub type BinaryChunkedBuilder = BinViewChunkedBuilder<[u8]>; impl BinViewChunkedBuilder { - /// Create a new StringChunkedBuilder + /// Create a new BinViewChunkedBuilder /// /// # Arguments /// /// * `capacity` - Number of string elements in the final array. - /// * `bytes_capacity` - Number of bytes needed to store the string values. pub fn new(name: &str, capacity: usize) -> Self { Self { chunk_builder: MutableBinaryViewArray::with_capacity(capacity),