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:
Leaf Petersen 2018-01-31 21:24:08 +00:00 committed by commit-bot@chromium.org
parent 0b2a0ed73c
commit 58bb8ace3f

View file

@ -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;
}