diff --git a/Cargo.toml b/Cargo.toml index ce228444c6..9780e6466e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -308,9 +308,15 @@ allowlist = ["compute", "compute_sort", "compute_hash", "compute_nullif"] # --------------------------------------------------------------------------------- +[lints.rust] +unused_imports = "allow" + [lints.clippy] blocks_in_conditions = "allow" +items_after_test_module = "allow" manual_hash_one = "allow" +non_canonical_partial_ord_impl = "allow" +redundant_guards = "allow" # --------------------------------------------------------------------------------- diff --git a/tests/it/ffi/data.rs b/tests/it/ffi/data.rs index 31bacb8387..b7f303a9b4 100644 --- a/tests/it/ffi/data.rs +++ b/tests/it/ffi/data.rs @@ -342,7 +342,7 @@ fn extension() -> Result<()> { DataType::Extension( "a".to_string(), Arc::new(DataType::Int32), - Some("bla".to_string()).map(Arc::new), + Some(Arc::new("bla".to_string())), ), true, );