-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop nullability from _UnorderedEquality generic
Closes #214 The nullable `T` in `Equality<T>` changes the assignability and introduces a difference between the other collection equality implementations and the unordered implementations. Prior to this change `SetEquality<T>` could not be statically assigned to a `Equality<Set<T>>`, instead it had to be assigned to `Equality<Set<T>?>`, while `ListEquality<T>` was assignable to `Equality<List<T>>`. Now both are assignable.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 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