Skip to content

Commit 818f064

Browse files
authored
Merge pull request #1920 from a4lg/clippy-warnings-2025.09
Make Clippy happy (batch 2025-09)
2 parents a173bb2 + 662c3af commit 818f064

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

crates/intrinsic-test/src/arm/json_parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ fn json_to_intrinsic(
113113
Ok(Intrinsic {
114114
name,
115115
arguments,
116-
results: results,
116+
results,
117117
arch_tags: intr.architectures,
118118
})
119119
}

crates/intrinsic-test/src/common/gen_rust.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ pub fn generate_rust_test_loop<T: IntrinsicTypeDefinition>(
253253
}
254254

255255
/// Generate the specializations (unique sequences of const-generic arguments) for this intrinsic.
256-
fn generate_rust_specializations<'a>(
256+
fn generate_rust_specializations(
257257
constraints: &mut impl Iterator<Item = impl Iterator<Item = i64>>,
258258
) -> Vec<Vec<u8>> {
259259
let mut specializations = vec![vec![]];

crates/stdarch-gen-arm/src/load_store_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ pub fn generate_load_store_tests(
8585
TokenStream::from_str(&PREAMBLE).map_err(|e| format!("Preamble is invalid: {e}"))?;
8686
// Only output manual tests for the SVE set
8787
let manual_tests = match &load_intrinsics[0].target_features[..] {
88-
[s] if s == "sve" => TokenStream::from_str(&MANUAL_TESTS)
88+
[s] if s == "sve" => TokenStream::from_str(MANUAL_TESTS)
8989
.map_err(|e| format!("Manual tests are invalid: {e}"))?,
9090
_ => quote!(),
9191
};

examples/hex.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#![allow(
2323
clippy::unwrap_used,
2424
clippy::print_stdout,
25-
clippy::unwrap_used,
2625
clippy::shadow_reuse,
2726
clippy::cast_possible_wrap,
2827
clippy::cast_ptr_alignment,

0 commit comments

Comments
 (0)