Skip to content

Commit 4898814

Browse files
authored
Don't refer to iterable as "this list".
1 parent c82e508 commit 4898814

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkgs/collection/lib/src/iterable_extensions.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,17 +96,17 @@ extension IterableExtension<T> on Iterable<T> {
9696
{bool before = false, bool after = false}) =>
9797
_SeparatedIterable<T>(this, separator, before, after);
9898

99-
/// Creates new list with the elements of this list separated by [separator].
99+
/// Creates new list with the elements of this iterable separated by [separator].
100100
///
101-
/// Returns a new list which contains the same elements as this list,
101+
/// Returns a new list which contains the same elements as this iterable,
102102
/// with a [separator] between any two of those elements.
103103
///
104104
/// If [before] is set to `true`, a [separator] is also
105105
/// added before the first element.
106106
/// If [after] is set to `true`, a [separator] is also
107107
/// added after the last element.
108108
///
109-
/// If this list is empty, [before] and [after] have no effect.
109+
/// If this iterable is empty, [before] and [after] have no effect.
110110
///
111111
/// Example:
112112
/// ```dart

0 commit comments

Comments
 (0)