Skip to content

Commit

Permalink
IntervalSet: add comment about representation
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Sep 5, 2024
1 parent 368d545 commit 9529feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_index/src/interval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ mod tests;
/// first value of the following element.
#[derive(Debug, Clone)]
pub struct IntervalSet<I> {
// Start, end
// Start, end (both inclusive)
map: SmallVec<[(u32, u32); 4]>,
domain: usize,
_data: PhantomData<I>,
Expand Down

0 comments on commit 9529feb

Please sign in to comment.