Skip to content

Commit 47462ed

Browse files
committed
fix unless use of vec!
1 parent aff88f8 commit 47462ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/popups/branch_sort.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl BranchSortPopup {
4848
}
4949

5050
fn get_sort_key_lines(&self) -> Vec<Line> {
51-
let texts = vec![
51+
let texts = [
5252
strings::sort_branch_by_name_msg(&self.key_config),
5353
strings::sort_branch_by_name_rev_msg(&self.key_config),
5454
strings::sort_branch_by_time_msg(&self.key_config),

0 commit comments

Comments
 (0)