Skip to content

Commit

Permalink
Fix the latest clippy warnings with the newer rustc's
Browse files Browse the repository at this point in the history
  • Loading branch information
rtyler committed Jul 15, 2023
1 parent 255473d commit ef8dd21
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
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

0 comments on commit ef8dd21

Please sign in to comment.