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 8, 2024
1 parent a241042 commit 11bd99d
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); 2]>,
domain: usize,
_data: PhantomData<I>,
Expand Down

0 comments on commit 11bd99d

Please sign in to comment.