Skip to content

Commit edee487

Browse files
committed
Fix clippy lints
1 parent 29c44c2 commit edee487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libmimalloc-sys/sys-test/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fn main() {
1414
"{cargo_manifest_dir}/../c_src/mimalloc/{version}/include"
1515
))
1616
.cfg("feature", Some("extended"))
17-
.cfg("feature", (version == "v3").then(|| "v3"))
17+
.cfg("feature", (version == "v3").then_some("v3"))
1818
.fn_cname(|rust, link_name| link_name.unwrap_or(rust).to_string())
1919
// ignore whether or not the option enum is signed.
2020
.skip_signededness(|c| c.ends_with("_t") || c.ends_with("_e"))

0 commit comments

Comments
 (0)