Skip to content

Commit

Permalink
Remove redundant const from examples (dart-archive/collection#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
natebosch authored Jan 7, 2021
1 parent 073b30d commit 43f8d69
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions pkgs/collection/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 1.15.0-nullsafety.6-dev

## 1.15.0-nullsafety.5

* Fix typo in extension method `expandIndexed`.
Expand Down
4 changes: 2 additions & 2 deletions pkgs/collection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ Collections in Dart have no inherent equality. Two sets are not equal, even
if they contain exactly the same objects as elements.

The `Equality` interface provides a way to define such an equality. In this
case, for example, `const SetEquality(const IdentityEquality())` is an equality
case, for example, `const SetEquality(IdentityEquality())` is an equality
that considers two sets equal exactly if they contain identical elements.

Equalities are provided for `Iterable`s, `List`s, `Set`s, and `Map`s, as well as
combinations of these, such as:

```dart
const MapEquality(const IdentityEquality(), const ListEquality());
const MapEquality(IdentityEquality(), ListEquality());
```

This equality considers maps equal if they have identical keys, and the
Expand Down
2 changes: 1 addition & 1 deletion pkgs/collection/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: collection
version: 1.15.0-nullsafety.5
version: 1.15.0-nullsafety.6-dev

description: Collections and utilities functions and classes related to collections.
homepage: https://github.com/dart-lang/collection
Expand Down

0 comments on commit 43f8d69

Please sign in to comment.