Skip to content

Commit

Permalink
Silence more clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Jul 8, 2024
1 parent ea03a8f commit c6f4d31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

# ---------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion tests/it/ffi/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
Expand Down

0 comments on commit c6f4d31

Please sign in to comment.