Skip to content

Commit a56a862

Browse files
committed
Apply rust_2024_incompatible_pat
1 parent 22068b9 commit a56a862

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: crates/stdarch-gen-arm/src/wildstring.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ impl WildString {
9090
self.iter_mut().try_for_each(|wp| -> Result<(), String> {
9191
if let WildStringPart::Wildcard(w) = wp {
9292
match w {
93-
Wildcard::NEONType(_, _, ref maybe_suffix_kind) => {
93+
&mut Wildcard::NEONType(_, _, ref maybe_suffix_kind) => {
9494
if let Some(suffix_kind) = maybe_suffix_kind {
9595
let x = ctx.provide_type_wildcard(w).unwrap();
9696
*wp = WildStringPart::String(make_neon_suffix(x, *suffix_kind))
@@ -111,7 +111,7 @@ impl WildString {
111111
self.iter_mut().try_for_each(|wp| -> Result<(), String> {
112112
if let WildStringPart::Wildcard(w) = wp {
113113
match w {
114-
Wildcard::NEONType(_, _, ref maybe_suffix_kind) => {
114+
&mut Wildcard::NEONType(_, _, ref maybe_suffix_kind) => {
115115
if let Some(suffix_kind) = maybe_suffix_kind {
116116
let x = ctx.provide_type_wildcard(w).unwrap();
117117
*wp = WildStringPart::String(make_neon_suffix(x, *suffix_kind))

0 commit comments

Comments
 (0)