Skip to content

Commit c8f6731

Browse files
committed
add another snippet of doc
1 parent c4dcfe7 commit c8f6731

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/scala/scala/collection/immutable/next/package.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ package object next {
2020
* that endlessly repeats the elements in the input.
2121
* The result is a true cycle occupying only constant memory.
2222
*
23+
* Does not force the input list (not even its empty-or-not status).
24+
*
2325
* Safe to call on unbounded input, but in that case the result is not a cycle
2426
* (not even if the input was).
2527
*/

0 commit comments

Comments
 (0)