Skip to content

Commit ce50225

Browse files
committed
clippy
1 parent 2cc6bd9 commit ce50225

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub fn skip_boilerplate(
3636

3737
let triple = args
3838
.get_one::<&str>("target-triple")
39-
.unwrap_or_else(|| &"x86_64-unknown-linux");
39+
.unwrap_or(&"x86_64-unknown-linux");
4040

4141
cl::isa::lookup_by_name(triple)
4242
.unwrap()

0 commit comments

Comments
 (0)