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

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

Issue 1132503002: Fix typo in EfficientLengthIterable documentation, and improve it slightly. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 | « 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/collection/iterable.dart
diff --git a/sdk/lib/collection/iterable.dart b/sdk/lib/collection/iterable.dart
index 14af73c69e42cee5f2898609fd3c964f1ef2ed40..855659510d49143d65a8a4cfcef1e6732cbb7a08 100644
--- a/sdk/lib/collection/iterable.dart
+++ b/sdk/lib/collection/iterable.dart
@@ -411,10 +411,10 @@ void _iterablePartsToStrings(Iterable iterable, List parts) {
*
* Methods that worry about reading the length of an `Iterable` because it
* may be inefficient or may trigger side-effects, or may even never complete,
- * can first check if the iterable `is EfficientLengthIterableIterable`,
+ * can first check if the iterable `is EfficientLengthIterable`,
* and if so, use [length] without those concerns.
*
- * The `EfficientLengthIterable` type should never be used as an API type
+ * The `EfficientLengthIterable` type should never be used as a type
* assertion - neither as argument type or return type of a function.
* Always use [Iterable] for the type and just document the performance if it
* is relevant. This avoids needlessly restricting the values that can be used.
« 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