Index: sdk/lib/async/stream.dart |
diff --git a/sdk/lib/async/stream.dart b/sdk/lib/async/stream.dart |
index f4abf9aac9c2cda45b9b6da83c06c4f434724620..9a9487afdeff05f242390bdc65c1c708f0f67f3e 100644 |
--- a/sdk/lib/async/stream.dart |
+++ b/sdk/lib/async/stream.dart |
@@ -1767,7 +1767,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. |
@@ -1809,7 +1809,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]. |
* |