Skip to content

Commit 1230755

Browse files
authored
Merge pull request #88 from cgwalters/fix-clippy
install: Fix a clippy lint
2 parents 86c571b + 83bfd45 commit 1230755

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)