-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement
Saturate
more explicitly for collections.
This change replaces the blanket implementation of `Saturate` bound on `Extend` and `Vacancy` with more explicit implementations for collections. This avoids an incorrect implementation for relational collection types with some notion of capacity (that implement `Extend` and `Vacancy`). In particular, `BinaryHeap` may implement these traits and but requires a different `Saturate` implementation.
- Loading branch information
1 parent
ccd7432
commit bfcbc0d
Showing
4 changed files
with
155 additions
and
61 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
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