Skip to content

Commit

Permalink
Use reason = "reason_here" for allow lints (#127)
Browse files Browse the repository at this point in the history
The only reason I didn't do this in the previous PR was the Rust
compiler version was slightly too old.

Now that the version is 1.84, fix it.
  • Loading branch information
cgettys-microsoft authored Jan 13, 2025
1 parent a9462eb commit 7be0df0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/libs/core/src/client/query_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// ------------------------------------------------------------
#![cfg_attr(
not(feature = "tokio_async"),
allow(unused_imports) // reason = "code configured out"
allow(unused_imports, reason = "code configured out")
)]
use std::{ffi::c_void, time::Duration};

Expand Down
2 changes: 1 addition & 1 deletion crates/libs/core/src/client/svc_mgmt_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// ------------------------------------------------------------
#![cfg_attr(
not(feature = "tokio_async"),
allow(unused_imports) // reason = "code configured out"
allow(unused_imports, reason = "code configured out")
)]
use std::{ffi::c_void, time::Duration};

Expand Down

0 comments on commit 7be0df0

Please sign in to comment.