Skip to content

Commit 7cebc58

Browse files
committed
Fix clippy error
1 parent bcc812a commit 7cebc58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/subcommand.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ impl Subcommand {
445445
print!(
446446
" {}",
447447
[left, right]
448-
.map(|s| s.unwrap_or_default())
448+
.map(Option::unwrap_or_default)
449449
.join(" ")
450450
.trim()
451451
);

0 commit comments

Comments
 (0)