Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: sdk/lib/collection/iterable.dart

Issue 2905013003: fix doc comments in dart:io and collection types (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/collection/iterable.dart
diff --git a/sdk/lib/collection/iterable.dart b/sdk/lib/collection/iterable.dart
index 667905a7012ec58167df5f97319b2c9c4fcdef71..4eb5c2f4d791c2601871e301d3e119968388e87e 100644
--- a/sdk/lib/collection/iterable.dart
+++ b/sdk/lib/collection/iterable.dart
@@ -76,9 +76,9 @@ abstract class IterableMixin<E> implements Iterable<E> {
return buffer.toString();
}
- bool any(bool f(E element)) {
+ bool any(bool test(E element)) {
for (E element in this) {
- if (f(element)) return true;
+ if (test(element)) return true;
}
return false;
}

Powered by Google App Engine
This is Rietveld 408576698