Skip to content

Commit

Permalink
[clippy] fixes for Rust 1.75
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshowers committed Jan 8, 2024
1 parent 1f45396 commit dcda613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nextest-runner/src/list/binary_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ impl<'g> BinaryListBuildState<'g> {
k == "lib" || k == "rlib" || k == "dylib" || k == "cdylib" || k == "staticlib"
}) {
(RustTestBinaryKind::LIB, BuildPlatform::Target)
} else if kind.get(0).map(String::as_str) == Some("proc-macro") {
} else if kind.first().map(String::as_str) == Some("proc-macro") {
(RustTestBinaryKind::PROC_MACRO, BuildPlatform::Host)
} else {
// Non-lib kinds should always have just one element. Grab the first one.
Expand Down

0 comments on commit dcda613

Please sign in to comment.