generated from rust-vmm/crate-template
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[InclusiveRange]: Allow size one ranges
Removed the check that denied InclusiveRanges where start was equal with end. Added a test to check that allocation succeds when there is a size 1 range before or after the requested range. Signed-off-by: AlexandruCihodaru <[email protected]>
- Loading branch information
1 parent
6f78066
commit e55eb23
Showing
2 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters