run cargo fix for rust 2024 changes and rustfmt

Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay>
This commit is contained in:
June Clementine Strawberry 2025-02-23 01:17:45 -05:00
commit a1e1f40ded
No known key found for this signature in database
320 changed files with 2212 additions and 2039 deletions

View file

@ -1,5 +1,5 @@
use proc_macro::{Span, TokenStream};
use quote::{quote, ToTokens};
use quote::{ToTokens, quote};
use syn::{FnArg::Typed, Ident, ItemFn, Meta, Pat, PatIdent, PatType, Stmt};
use crate::Result;
@ -20,7 +20,7 @@ pub(super) fn refutable(mut item: ItemFn, _args: &[Meta]) -> Result<TokenStream>
let variant = &pat.path;
let fields = &pat.fields;
let Some(Typed(PatType { ref mut pat, .. })) = sig.inputs.get_mut(i) else {
let Some(Typed(PatType { pat, .. })) = sig.inputs.get_mut(i) else {
continue;
};