This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/main by this push:
     new 71c5d3419 Fix docstring for Format::with_header (#6856)
71c5d3419 is described below

commit 71c5d34191577c82fd5adf4a9e9e467c4e9b183a
Author: Kyle Barron <[email protected]>
AuthorDate: Sat Dec 7 15:04:45 2024 -0500

    Fix docstring for Format::with_header (#6856)
---
 arrow-csv/src/reader/mod.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arrow-csv/src/reader/mod.rs b/arrow-csv/src/reader/mod.rs
index 9bdb80ef3..d3d518316 100644
--- a/arrow-csv/src/reader/mod.rs
+++ b/arrow-csv/src/reader/mod.rs
@@ -241,7 +241,7 @@ pub struct Format {
 }
 
 impl Format {
-    /// Specify whether the CSV file has a header, defaults to `true`
+    /// Specify whether the CSV file has a header, defaults to `false`
     ///
     /// When `true`, the first row of the CSV file is treated as a header row
     pub fn with_header(mut self, has_header: bool) -> Self {

Reply via email to