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

Unified Diff: sdk/lib/core/map.dart

Issue 3001573002: Fix spurious parenthesis in Map documentation. (Closed)
Patch Set: Created 3 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/map.dart
diff --git a/sdk/lib/core/map.dart b/sdk/lib/core/map.dart
index 2c6155639b09514ea1c0f7ab8b45eb64af8f0cc1..c64450a7d79dd285e8c840589ea389b2d378dfe8 100644
--- a/sdk/lib/core/map.dart
+++ b/sdk/lib/core/map.dart
@@ -93,7 +93,7 @@ abstract class Map<K, V> {
* List<int> list = [1, 2, 3];
* Map<String, int> map = new Map.fromIterable(list,
* key: (item) => item.toString(),
- * value: (item) => item * item));
+ * value: (item) => item * item);
*
* map['1'] + map['2']; // 1 + 4
* map['3'] - map['2']; // 9 - 4
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698