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

Unified Diff: sdk/lib/collection/queue.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
« no previous file with comments | « sdk/lib/collection/maps.dart ('k') | sdk/lib/collection/set.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/collection/queue.dart
diff --git a/sdk/lib/collection/queue.dart b/sdk/lib/collection/queue.dart
index 0347943a0ab932c4f0c98b6004dda34d6537ce79..71359b39f2568d637b2df0cc90868a10bd06b06d 100644
--- a/sdk/lib/collection/queue.dart
+++ b/sdk/lib/collection/queue.dart
@@ -557,10 +557,10 @@ class ListQueue<E> extends ListIterable<E> implements Queue<E> {
Iterator<E> get iterator => new _ListQueueIterator<E>(this);
- void forEach(void action(E element)) {
+ void forEach(void f(E element)) {
Lasse Reichstein Nielsen 2017/05/31 12:30:22 I'd actually prefer to change the original to "act
int modificationCount = _modificationCount;
for (int i = _head; i != _tail; i = (i + 1) & (_table.length - 1)) {
- action(_table[i]);
+ f(_table[i]);
_checkModification(modificationCount);
}
}
« no previous file with comments | « sdk/lib/collection/maps.dart ('k') | sdk/lib/collection/set.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698