Skip to content

Commit 83bfd45

Browse files
committed
install: Fix a clippy lint
Apparently the clippy task wasn't gating. But honestly I'm getting feeling like clippy's value proposition has slipped by default. Signed-off-by: Colin Walters <[email protected]>
1 parent d270af1 commit 83bfd45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/install.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ async fn initialize_ostree_root_from_self(
406406
let target_imgname = opts
407407
.target_imgref
408408
.as_deref()
409-
.unwrap_or_else(|| state.source.imageref.name.as_str());
409+
.unwrap_or(state.source.imageref.name.as_str());
410410
let target_transport = ostree_container::Transport::try_from(opts.target_transport.as_str())?;
411411
let target_imgref = ostree_container::OstreeImageReference {
412412
sigverify: target_sigverify,

0 commit comments

Comments
 (0)