Index: sdk/lib/async/future.dart |
diff --git a/sdk/lib/async/future.dart b/sdk/lib/async/future.dart |
index 01e9e88597eb6b5dc518ee3ae61b6f4d08bdbf47..ea95b68e4fbdda16c17b9fdec51dec3205107fd5 100644 |
--- a/sdk/lib/async/future.dart |
+++ b/sdk/lib/async/future.dart |
@@ -133,8 +133,8 @@ abstract class Future<T> { |
* completer.complete(value); |
* |
* // alternatively, if the service cannot produce the value, it |
- * // can provide an exception: |
- * completer.completeException(exception); |
+ * // can provide an error: |
+ * completer.completeError(error); |
nweiz
2013/01/09 01:24:07
You may want to at least cc Florian on this.
Bob Nystrom
2013/01/09 01:31:35
Good call. It's just a doc change, but I'll add hi
|
* |
*/ |
abstract class Completer<T> { |