Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e140716

Browse files
committedSep 5, 2024·
IntervalSet: add comment about representation
1 parent 1dff10c commit e140716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎compiler/rustc_index/src/interval.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mod tests;
1717
/// first value of the following element.
1818
#[derive(Debug, Clone)]
1919
pub struct IntervalSet<I> {
20-
// Start, end
20+
// Start, end (both inclusive)
2121
map: SmallVec<[(u32, u32); 4]>,
2222
domain: usize,
2323
_data: PhantomData<I>,

0 commit comments

Comments
 (0)
Please sign in to comment.