Enable unused_async clippy lint

This commit is contained in:
dasha_uwu authored and Jason Volk committed 2026-01-13 07:42:43 +00:00
1 parent fd519ff7f1
commit d095a4fd3b
20 files changed
+60 -64

No files matched your search

+3 -2
View File
@@ -10,11 +10,12 @@ use crate::{
};
pub(super) fn command(mut item: ItemFn, _args: &[Meta]) -> Result<TokenStream> {
let attr: Attribute = parse_quote! {
let attr: Vec<Attribute> = parse_quote! {
#[tuwunel_macros::implement(crate::Context, params = "<'_>")]
#[allow(clippy::unused_async)]
};
item.attrs.push(attr);
item.attrs.extend(attr);
Ok(item.into_token_stream().into())
}