Skip to content

Commit 3f6273a

Browse files
committed
fix clippy warning
1 parent 5d22176 commit 3f6273a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/print/unicode.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ pub fn print_unicode(graph: &GitGraph, settings: &Settings) -> Result<UnicodeGra
8080
0
8181
};
8282

83-
let head = if head_idx.map_or(false, |h| h == &idx) {
83+
let head = if head_idx.map_or(false, |h| h == idx) {
8484
Some(&graph.head)
8585
} else {
8686
None

0 commit comments

Comments
 (0)