Skip to content

Commit

Permalink
attempt to satisfy a clippy nit
Browse files Browse the repository at this point in the history
  • Loading branch information
cammeresi committed Jul 7, 2024
1 parent 3310c53 commit 935266e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ pub fn set_entry(meta: TokenStream, decl: TokenStream) -> TokenStream {
#[allow(unused)]
fn #fn_name() -> bool {
// for typechecking
#[allow(clippy::fn_address_comparisons)]
unsafe { #set_ident::#start_set == #expr }
}
};
Expand Down

0 comments on commit 935266e

Please sign in to comment.