File tree Expand file tree Collapse file tree 4 files changed +6
-11
lines changed Expand file tree Collapse file tree 4 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ jobs:
247247 run : |
248248 export CARGO_HOME="/github/home/.cargo"
249249 export CARGO_TARGET_DIR="/github/home/target"
250- cargo clippy --features test_common --features prettyprint --features=async --all-targets --workspace -- -D warnings -A clippy::redundant_field_names
250+ cargo clippy --features test_common --features prettyprint --features=async --all-targets --workspace -- -D warnings
251251
252252 check_benches :
253253 name : Check Benchmarks (but don't run them)
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ pub mod writer;
2727#[ allow( clippy:: extra_unused_lifetimes) ]
2828#[ allow( clippy:: redundant_static_lifetimes) ]
2929#[ allow( clippy:: redundant_field_names) ]
30+ #[ allow( non_camel_case_types) ]
3031pub mod gen;
3132
3233pub use self :: gen:: File :: * ;
Original file line number Diff line number Diff line change @@ -735,14 +735,14 @@ impl Decoder {
735735 }
736736
737737 #[ inline( always) ]
738- fn list_array_string_array_builder < DICT_TY > (
738+ fn list_array_string_array_builder < DT > (
739739 & self ,
740740 data_type : & DataType ,
741741 col_name : & str ,
742742 rows : & [ Value ] ,
743743 ) -> Result < ArrayRef >
744744 where
745- DICT_TY : ArrowPrimitiveType + ArrowDictionaryKeyType ,
745+ DT : ArrowPrimitiveType + ArrowDictionaryKeyType ,
746746 {
747747 let mut builder: Box < dyn ArrayBuilder > = match data_type {
748748 DataType :: Utf8 => {
@@ -751,7 +751,7 @@ impl Decoder {
751751 }
752752 DataType :: Dictionary ( _, _) => {
753753 let values_builder =
754- self . build_string_dictionary_builder :: < DICT_TY > ( rows. len ( ) * 5 ) ?;
754+ self . build_string_dictionary_builder :: < DT > ( rows. len ( ) * 5 ) ?;
755755 Box :: new ( ListBuilder :: new ( values_builder) )
756756 }
757757 e => {
@@ -813,7 +813,7 @@ impl Decoder {
813813 builder. append ( true ) ?;
814814 }
815815 DataType :: Dictionary ( _, _) => {
816- let builder = builder. as_any_mut ( ) . downcast_mut :: < ListBuilder < StringDictionaryBuilder < DICT_TY > > > ( ) . ok_or_else ( ||ArrowError :: JsonError (
816+ let builder = builder. as_any_mut ( ) . downcast_mut :: < ListBuilder < StringDictionaryBuilder < DT > > > ( ) . ok_or_else ( ||ArrowError :: JsonError (
817817 "Cast failed for ListBuilder<StringDictionaryBuilder> during nested data parsing" . to_string ( ) ,
818818 ) ) ?;
819819 for val in vals {
Original file line number Diff line number Diff line change 128128#![ cfg_attr( feature = "avx512" , feature( repr_simd) ) ]
129129#![ cfg_attr( feature = "avx512" , feature( avx512_target_feature) ) ]
130130#![ allow( dead_code) ]
131- #![ allow( non_camel_case_types) ]
132131#![ deny( clippy:: redundant_clone) ]
133- #![ allow(
134- // upper_case_acronyms lint was introduced in Rust 1.51.
135- // It is triggered in the ffi module, and ipc::gen, which we have no control over
136- clippy:: upper_case_acronyms,
137- ) ]
138132#![ warn( missing_debug_implementations) ]
139133
140134pub mod alloc;
You can’t perform that action at this time.
0 commit comments