Skip to content

Commit 4c09256

Browse files
committed
Tune lints for 1.91 Rust
1 parent 9ca7697 commit 4c09256

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

codegen/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@
109109
clippy::string_lit_as_bytes,
110110
clippy::string_lit_chars_any,
111111
clippy::string_slice,
112-
clippy::string_to_string,
113112
clippy::suboptimal_flops,
114113
clippy::suspicious_operation_groupings,
115114
clippy::suspicious_xor_used_as_pow,

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
html_logo_url = "https://github.com/u/91469139?s=128",
1313
html_favicon_url = "https://github.com/u/91469139?s=256"
1414
)]
15-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
15+
#![cfg_attr(docsrs, feature(doc_cfg))]
1616
#![cfg_attr(any(doc, test), doc = include_str!("../README.md"))]
1717
#![cfg_attr(not(any(doc, test)), doc = env!("CARGO_PKG_NAME"))]
1818
#![deny(nonstandard_style, rustdoc::all, trivial_casts, trivial_numeric_casts)]
@@ -110,7 +110,6 @@
110110
clippy::string_lit_as_bytes,
111111
clippy::string_lit_chars_any,
112112
clippy::string_slice,
113-
clippy::string_to_string,
114113
clippy::suboptimal_flops,
115114
clippy::suspicious_operation_groupings,
116115
clippy::suspicious_xor_used_as_pow,

src/runner/basic.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -976,10 +976,6 @@ async fn execute<W, Before, After>(
976976
coll.start_scenarios(&runnable);
977977
}
978978
async {
979-
#[expect( // intentional
980-
clippy::infinite_loop,
981-
reason = "cannot annotate `async` block with `-> !"
982-
)]
983979
loop {
984980
while let Some(logs) = logs_collector
985981
.as_mut()

0 commit comments

Comments
 (0)