Workaround for rustc bug
This commit is contained in:
parent
5b7bb32b0e
commit
f321593655
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ pub struct RangeMap<T> {
|
|||
// At the same time the `end` is irrelevant for the sorting and range searching, but used for the check.
|
||||
// This kind of search breaks, if `end < start`, so don't do that!
|
||||
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Debug)]
|
||||
struct Range {
|
||||
pub struct Range {
|
||||
start: u64,
|
||||
end: u64, // Invariant: end > start
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue