IntervalSet: add comment about representation

This commit is contained in:
Ralf Jung 2024-09-05 08:21:19 +02:00
parent a2410425b3
commit 11bd99de8c
1 changed files with 1 additions and 1 deletions

View File

@ -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>,