Skip to content

Commit 14c2153

Browse files
authored
Trivial grammar and wrapping fix for docs (#130955)
1 parent 93f7dc3 commit 14c2153

1 file changed

Lines changed: 12 additions & 13 deletions

File tree

packages/flutter/lib/src/foundation/collections.dart

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
/// the same length, and contain the same members. Returns false otherwise.
1111
/// Order is not compared.
1212
///
13-
/// If the elements are maps, lists, sets, or other collections/composite objects,
14-
/// then the contents of those elements are not compared element by element unless their
15-
/// equality operators ([Object.==]) do so.
16-
/// For checking deep equality, consider using [DeepCollectionEquality] class.
13+
/// If the elements are maps, lists, sets, or other collections/composite
14+
/// objects, then the contents of those elements are not compared element by
15+
/// element unless their equality operators ([Object.==]) do so. For checking
16+
/// deep equality, consider using the [DeepCollectionEquality] class.
1717
///
1818
/// See also:
1919
///
@@ -43,10 +43,10 @@ bool setEquals<T>(Set<T>? a, Set<T>? b) {
4343
/// the same length, and contain the same members in the same order. Returns
4444
/// false otherwise.
4545
///
46-
/// If the elements are maps, lists, sets, or other collections/composite objects,
47-
/// then the contents of those elements are not compared element by element unless their
48-
/// equality operators ([Object.==]) do so.
49-
/// For checking deep equality, consider using [DeepCollectionEquality] class.
46+
/// If the elements are maps, lists, sets, or other collections/composite
47+
/// objects, then the contents of those elements are not compared element by
48+
/// element unless their equality operators ([Object.==]) do so. For checking
49+
/// deep equality, consider using the [DeepCollectionEquality] class.
5050
///
5151
/// See also:
5252
///
@@ -76,10 +76,10 @@ bool listEquals<T>(List<T>? a, List<T>? b) {
7676
/// the same length, and contain the same keys associated with the same values.
7777
/// Returns false otherwise.
7878
///
79-
/// If the elements are maps, lists, sets, or other collections/composite objects,
80-
/// then the contents of those elements are not compared element by element unless their
81-
/// equality operators ([Object.==]) do so.
82-
/// For checking deep equality, consider using [DeepCollectionEquality] class.
79+
/// If the elements are maps, lists, sets, or other collections/composite
80+
/// objects, then the contents of those elements are not compared element by
81+
/// element unless their equality operators ([Object.==]) do so. For checking
82+
/// deep equality, consider using the [DeepCollectionEquality] class.
8383
///
8484
/// See also:
8585
///
@@ -103,7 +103,6 @@ bool mapEquals<T, U>(Map<T, U>? a, Map<T, U>? b) {
103103
return true;
104104
}
105105

106-
107106
/// Returns the position of `value` in the `sortedList`, if it exists.
108107
///
109108
/// Returns `-1` if the `value` is not in the list. Requires the list items

0 commit comments

Comments
 (0)