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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8a66174d2 use spaces not tabs everywhere (#6217)
8a66174d2 is described below

commit 8a66174d2b87d71d0ecc71b04b2ffcecfd9c1cbf
Author: Samuel Colvin <[email protected]>
AuthorDate: Fri Aug 9 17:25:47 2024 +0100

    use spaces not tabs everywhere (#6217)
---
 arrow-cast/src/cast/mod.rs | 2 +-
 arrow-csv/src/writer.rs    | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/arrow-cast/src/cast/mod.rs b/arrow-cast/src/cast/mod.rs
index 93f8a06ea..fe59a141c 100644
--- a/arrow-cast/src/cast/mod.rs
+++ b/arrow-cast/src/cast/mod.rs
@@ -193,7 +193,7 @@ pub fn can_cast_types(from_type: &DataType, to_type: 
&DataType) -> bool {
                     // cast kernel will return error.
                     can_cast_types(f1.data_type(), f2.data_type())
                 })
-               }
+        }
         (Struct(_), _) => false,
         (_, Struct(_)) => false,
         (_, Boolean) => {
diff --git a/arrow-csv/src/writer.rs b/arrow-csv/src/writer.rs
index 40cc37af4..dded475aa 100644
--- a/arrow-csv/src/writer.rs
+++ b/arrow-csv/src/writer.rs
@@ -638,10 +638,10 @@ sed do eiusmod 
tempor,-556132.25,1,,2019-04-18T02:45:55.555,23:46:03,foo
         file.read_to_end(&mut buffer).unwrap();
 
         assert_eq!(
-                       "c1,c2,c3,c4,c6\n\"Lorem ipsum \ndolor sit 
amet\",123.564532,3,true,00:20:34\n\"consectetur $\"adipiscing$\" 
elit\",,2,false,06:51:20\nsed do eiusmod tempor,-556132.25,1,,23:46:03\n"
-                       .to_string(),
-                       String::from_utf8(buffer).unwrap()
-               );
+            "c1,c2,c3,c4,c6\n\"Lorem ipsum \ndolor sit 
amet\",123.564532,3,true,00:20:34\n\"consectetur $\"adipiscing$\" 
elit\",,2,false,06:51:20\nsed do eiusmod tempor,-556132.25,1,,23:46:03\n"
+            .to_string(),
+            String::from_utf8(buffer).unwrap()
+        );
     }
 
     #[test]

Reply via email to