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

Use reason = "reason_here" for allow lints #127

Merged
merged 1 commit into from
Jan 13, 2025
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
Only reason these weren't like this was older compiler version
  • Loading branch information
cgettys-microsoft committed Jan 13, 2025
commit b468c59e01a05ce6c92745b2f78e3575e14259ef
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
Loading