File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,14 +3,16 @@ pub const SYM_COMMIT_BRANCH: &str = "*";
33pub const SYM_COMMIT_MERGE : & str = "M" ;
44pub const SYM_COMMIT_STASH : & str = "*" ;
55pub const SYM_COMMIT_UNCOMMITTED : & str = "+" ;
6- pub const SYM_CROSS : & str = "╋" ;
76pub const SYM_VERTICAL : & str = "┃" ;
87pub const SYM_VERTICAL_DOTTED : & str = "╏" ;
98pub const SYM_HORIZONTAL : & str = "━" ;
109pub const SYM_MERGE_BRIDGE_START : & str = "┓" ;
1110pub const SYM_MERGE_BRIDGE_MID : & str = "━" ;
1211pub const SYM_MERGE_BRIDGE_END : & str = "┏" ;
1312pub const SYM_BRANCH_UP : & str = "┛" ;
14- pub const SYM_BRANCH_DOWN : & str = "┓" ;
1513pub const SYM_BRANCH_UP_RIGHT : & str = "┗" ;
14+ pub const SYM_TEE_LEFT : & str = "┫" ;
15+ pub const SYM_TEE_RIGHT : & str = "┣" ;
16+ pub const SYM_TEE_UP : & str = "┻" ;
17+ pub const SYM_TEE_DOWN : & str = "┳" ;
1618pub const SYM_SPACE : & str = " " ;
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ impl LogEntry {
8383 }
8484}
8585
86- ///
86+ /// A batch of parsed log entries with an index offset.
8787#[ derive( Default ) ]
8888pub struct ItemBatch {
8989 index_offset : Option < usize > ,
@@ -154,9 +154,9 @@ impl ItemBatch {
154154
155155 ///
156156 pub fn set_graph_rows ( & mut self , rows : Vec < GraphRow > ) {
157- let mut max = 0 ;
157+ let mut max: usize = 0 ;
158158 for ( entry, row) in self . items . iter_mut ( ) . zip ( rows) {
159- max = max. max ( row. lane_count ) ;
159+ max = max. max ( row. lane_count . into ( ) ) ;
160160 entry. graph = Some ( row) ;
161161 }
162162 self . max_lane = max;
You can’t perform that action at this time.
0 commit comments