Skip to content

Commit 4188ffd

Browse files
authored
chore(core): allow clippy::used_underscore_binding lint in command macro (#14225)
1 parent 12a6787 commit 4188ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/tauri-macros/src/command/wrapper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ pub fn wrapper(attributes: TokenStream, item: TokenStream) -> TokenStream {
197197
};
198198

199199
async_command_check = quote_spanned! {return_type.span() =>
200-
#[allow(unreachable_code, clippy::diverging_sub_expression)]
200+
#[allow(unreachable_code, clippy::diverging_sub_expression, clippy::used_underscore_binding)]
201201
const _: () = if false {
202202
#diagnostic
203203
trait AsyncCommandMustReturnResult {}

0 commit comments

Comments
 (0)