Skip to content

Commit

Permalink
satisfy a clippy nit only triggered on github
Browse files Browse the repository at this point in the history
  • Loading branch information
cammeresi committed Jul 7, 2024
1 parent 3310c53 commit 9a3b5c0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "linker-set"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
authors = ["Sidney Cammeresi <[email protected]>"]
license-file = "LICENSE"
Expand All @@ -14,5 +14,5 @@ doctest = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
linker-set-proc = { path = "proc", version = "0.1.0" }
linker-set-proc = { path = "proc", version = "0.3.1" }
paste = "1.0.14"
2 changes: 1 addition & 1 deletion proc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "linker-set-proc"
version = "0.1.0"
version = "0.3.1"
edition = "2021"
authors = ["Sidney Cammeresi <[email protected]>"]
license-file = "LICENSE"
Expand Down
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 9a3b5c0

Please sign in to comment.