Skip to content

Commit 6f79f21

Browse files
authored
more delinting
1 parent 1eafb43 commit 6f79f21

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

sdk/cosmos/azure_data_cosmos/src/query/executor.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
use std::sync::Arc;
2-
31
use azure_core::http::{headers::Headers, Context, Method, RawResponse, Request};
42
use serde::de::DeserializeOwned;
53

sdk/cosmos/azure_data_cosmos/tests/cosmos_containers.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#![cfg(feature = "key_auth")]
2+
#![allow(
3+
unused_imports,
4+
reason = "Each test builds this module separately and that means imports may be unused in certain builds."
5+
)]
26

37
mod framework;
48

sdk/cosmos/azure_data_cosmos/tests/framework/mod.rs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33

4-
// Some tests don't use all the features of this module.
5-
#![allow(dead_code)]
4+
#![allow(
5+
dead_code,
6+
reason = "Some tests don't use all the features of this module."
7+
)]
8+
#![allow(
9+
unused_imports,
10+
reason = "Some tests don't use all the re-exports from this module."
11+
)]
612

713
//! Provides a framework for integration tests for the Azure Cosmos DB service.
814
//!
@@ -15,7 +21,7 @@ pub mod test_data;
1521
#[cfg(feature = "preview_query_engine")]
1622
pub mod query_engine;
1723

18-
pub use local_recorder::{LocalRecorder, Transaction};
24+
pub use local_recorder::LocalRecorder;
1925
pub use test_account::{TestAccount, TestAccountOptions};
2026

2127
use serde::{Deserialize, Serialize};

0 commit comments

Comments
 (0)