Skip to content

Commit 20ec12f

Browse files
committedMar 23, 2025
rustfmt: update to edition 2024
We can delete rustfmt.toml as the style version defaults to the crate's rust edition.
1 parent e232214 commit 20ec12f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+199
-180
lines changed
 

‎rustfmt.toml

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎uefi-macros/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ extern crate proc_macro;
77
use proc_macro::TokenStream;
88

99
use proc_macro2::TokenStream as TokenStream2;
10-
use quote::{quote, quote_spanned, TokenStreamExt};
10+
use quote::{TokenStreamExt, quote, quote_spanned};
1111
use syn::spanned::Spanned;
1212
use syn::{
13-
parse_macro_input, parse_quote, parse_quote_spanned, Error, Expr, ExprLit, ExprPath, ItemFn,
14-
ItemStruct, Lit, Visibility,
13+
Error, Expr, ExprLit, ExprPath, ItemFn, ItemStruct, Lit, Visibility, parse_macro_input,
14+
parse_quote, parse_quote_spanned,
1515
};
1616

1717
macro_rules! err {
@@ -74,7 +74,7 @@ pub fn unsafe_protocol(args: TokenStream, input: TokenStream) -> TokenStream {
7474
expr,
7575
"macro input must be either a string literal or path to a constant"
7676
)
77-
.into()
77+
.into();
7878
}
7979
};
8080

0 commit comments

Comments
 (0)