Index: sdk/lib/async/stream.dart |
diff --git a/sdk/lib/async/stream.dart b/sdk/lib/async/stream.dart |
index 7661d9ffe99978261371223a41a66b8f9833d8a8..38ff26c21b972427bb9ff11b296b92a228d2630a 100644 |
--- a/sdk/lib/async/stream.dart |
+++ b/sdk/lib/async/stream.dart |
@@ -1763,7 +1763,7 @@ abstract class StreamIterator<T> { |
factory StreamIterator(Stream<T> stream) |
// TODO(lrn): use redirecting factory constructor when type |
// arguments are supported. |
- => new _StreamIteratorImpl<T>(stream); |
+ => new _StreamIterator<T>(stream); |
/** |
* Wait for the next stream value to be available. |
@@ -1805,7 +1805,7 @@ abstract class StreamIterator<T> { |
* automatically closed, you must call [cancel] to ensure that the stream |
* is properly closed. |
* |
- * If [moveNext] has been called when the iterator is cancelled, |
+ * If [moveNext] has been called when the iterator is canceled, |
* its returned future will complete with `false` as value, |
* as will all further calls to [moveNext]. |
* |