Skip to content

Commit 0951a8b

Browse files
committed
Document tuple used in CommitList.marked
1 parent 7065812 commit 0951a8b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/commitlist.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ pub struct CommitList {
4545
items: ItemBatch,
4646
highlights: Option<Rc<IndexSet<CommitId>>>,
4747
commits: IndexSet<CommitId>,
48+
/// Commits that are marked. The .0 is used to provide a sort order.
49+
/// It contains an index into self.items.items
4850
marked: Vec<(usize, CommitId)>,
4951
scroll_state: (Instant, f32),
5052
tags: Option<Tags>,

0 commit comments

Comments
 (0)