Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix the latest clippy warnings with the newer rustc's #1536

Merged
merged 1 commit into from
Jul 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rust/src/action/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub mod parquet2_read;
#[cfg(feature = "parquet")]
mod parquet_read;

#[cfg(all(feature = "arrow"))]
#[cfg(feature = "arrow")]
use arrow_schema::ArrowError;
use futures::StreamExt;
use lazy_static::lazy_static;
Expand Down Expand Up @@ -75,7 +75,7 @@ pub enum ProtocolError {
},

/// Error returned when converting the schema to Arrow format failed.
#[cfg(all(feature = "arrow"))]
#[cfg(feature = "arrow")]
#[error("Failed to convert into Arrow schema: {}", .source)]
Arrow {
/// Arrow error details returned when converting the schema in Arrow format failed
Expand Down
2 changes: 1 addition & 1 deletion rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pub mod storage;
pub mod table_state;
pub mod time_utils;

#[cfg(all(feature = "arrow"))]
#[cfg(feature = "arrow")]
pub mod table_state_arrow;

#[cfg(all(feature = "arrow", feature = "parquet"))]
Expand Down
2 changes: 1 addition & 1 deletion rust/tests/command_filesystem_check.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![cfg(all(feature = "integration_test"))]
#![cfg(feature = "integration_test")]

use deltalake::test_utils::{
set_env_if_not_set, IntegrationContext, StorageIntegration, TestResult, TestTables,
Expand Down
2 changes: 1 addition & 1 deletion rust/tests/integration_object_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async fn test_object_store_aws() -> TestResult {

// TODO pending emulator support in object store crate
#[ignore]
#[cfg(all(feature = "gcs"))]
#[cfg(feature = "gcs")]
#[tokio::test]
#[serial]
async fn test_object_store_google() -> TestResult {
Expand Down