mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:39:49 +00:00
Fix missing variable typo in Link
Change-Id: I7c4c9ef5149328bb80ca7fadacb896654913fa4c Reviewed-on: https://dart-review.googlesource.com/37641 Reviewed-by: Emily Fortuna <efortuna@google.com> Commit-Queue: Leaf Petersen <leafp@google.com>
This commit is contained in:
parent
0b2a0ed73c
commit
58bb8ace3f
|
@ -114,7 +114,7 @@ class Link<T> implements Iterable<T> {
|
|||
/// Returns true if f returns true for all elements of this list.
|
||||
///
|
||||
/// Returns true for the empty list.
|
||||
bool every(bool f(T)) {
|
||||
bool every(bool f(T e)) {
|
||||
for (Link<T> link = this; !link.isEmpty; link = link.tail) {
|
||||
if (!f(link.head)) return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue