Skip to content

Commit 9ec4df2

Browse files
committedDec 11, 2018
square brackets since unwrap is called anyways
1 parent 2097896 commit 9ec4df2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl fmt::Display for Info {
5555
buffer,
5656
"{}{}",
5757
title.color(color).bold(),
58-
self.authors.first().unwrap()
58+
self.authors[0]
5959
)?;
6060

6161
let title = " ".repeat(title.len());

0 commit comments

Comments
 (0)
Please sign in to comment.