File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
stream/src/main/scala/org/apache/pekko/stream Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ object Source {
102102 * Source.from(() -> data.iterator());
103103 * }}}
104104 *
105- * Start a new `Source` from the given Iterator. The produced stream of elements
105+ * Start a new `Source` from the given function that produces an Iterator. The produced stream of elements
106106 * will continue until the iterator runs empty or fails during evaluation of
107107 * the `next()` method. Elements are pulled out of the iterator
108108 * in accordance with the demand coming from the downstream transformation
Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ object Source {
272272 * Helper to create [[Source ]] from `Iterator`.
273273 * Example usage: `Source.fromIterator(() => Iterator.from(0))`
274274 *
275- * Start a new `Source` from the given function that produces anIterator .
275+ * Start a new `Source` from the given function that produces an Iterator .
276276 * The produced stream of elements will continue until the iterator runs empty
277277 * or fails during evaluation of the `next()` method.
278278 * Elements are pulled out of the iterator in accordance with the demand coming
You can’t perform that action at this time.
0 commit comments