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

Unified Diff: sdk/lib/async/future.dart

Issue 2946283002: Fix a couple of doc comment references - and many spelling mistakes (Closed)
Patch Set: Created 3 years, 6 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 | sdk/lib/async/stream.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/async/future.dart
diff --git a/sdk/lib/async/future.dart b/sdk/lib/async/future.dart
index 67e2d76284d57fb4b504e3cba3beb8366f61678c..eb5fa8b58ad808855a54955a98f6c41d5ee3f80b 100644
--- a/sdk/lib/async/future.dart
+++ b/sdk/lib/async/future.dart
@@ -336,7 +336,7 @@ abstract class Future<T> {
*
* In the case of an error, [cleanUp] (if provided), is invoked on any
* non-null result of successful futures.
- * This makes it posible to `cleanUp` resources that would otherwise be
+ * This makes it possible to `cleanUp` resources that would otherwise be
* lost (since the returned future does not provide access to these values).
* The [cleanUp] function is unused if there is no error.
*
@@ -493,17 +493,17 @@ abstract class Future<T> {
/**
* Performs an operation repeatedly until it returns `false`.
*
- * The operation, [f], may be either synchronous or asynchronous.
+ * The operation, [action], may be either synchronous or asynchronous.
*
* The operation is called repeatedly as long as it returns either the [bool]
* value `true` or a `Future<bool>` which completes with the value `true`.
*
- * If a call to [f] returns `false` or a [Future] that completes to `false`,
- * iteration ends and the future returned by [doWhile] is completed with
- * a `null` value.
+ * If a call to [action] returns `false` or a [Future] that completes to
+ * `false`, iteration ends and the future returned by [doWhile] is completed
+ * with a `null` value.
*
- * If a call to [f] throws or a future returned by [f] completes with
- * an error, iteration ends and the future returned by [doWhile]
+ * If a call to [action] throws or a future returned by [action] completes
+ * with an error, iteration ends and the future returned by [doWhile]
* completes with the same error.
*
* Calls to [action] may happen at any time,
« no previous file with comments | « no previous file | sdk/lib/async/stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698