Skip to content

Commit eb47860

Browse files
committed
extract rendering helpers from walker
1 parent 15c0deb commit eb47860

2 files changed

Lines changed: 354 additions & 200 deletions

File tree

asyncgit/src/graph/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub const MAX_LANE_COLORS: usize = 16;
1111
// Yes, there are repositories where this is exceeded
1212
// Are they very rare? Yes.
1313
// On most terminals can more than 256 lanes even be represneted usefully? Not really.
14-
#[derive(Clone, Copy, Debug, Default)]
14+
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]
1515
pub struct LaneIndex(u8);
1616

1717
/// Numeric alias assigned to each commit in the graph.

0 commit comments

Comments
 (0)