From a11b2a5459bc3a831acedb42c9f83dd3b9a160b5 Mon Sep 17 00:00:00 2001 From: Aleksey Krasnobaev Date: Wed, 28 Aug 2024 18:53:35 +0300 Subject: [PATCH] docs(rust): Fix BinViewChunkedBuilder arguments #17277 --- 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),