Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 11bd99d

Browse files
committedSep 8, 2024
IntervalSet: add comment about representation
1 parent a241042 commit 11bd99d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎compiler/rustc_index/src/interval.rs

Lines changed: 1 addition & 1 deletion
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); 2]>,
2222
domain: usize,
2323
_data: PhantomData<I>,

0 commit comments

Comments
 (0)
This repository has been archived.