Fix takeWhile description (#28703)
This commit is contained in:
parent
5b485be715
commit
0f77212913
3 changed files with 5 additions and 5 deletions
|
|
@ -13,6 +13,7 @@ object TakeWhile {
|
|||
|
||||
// #take-while
|
||||
Source(1 to 10).takeWhile(_ < 3).runForeach(println)
|
||||
// prints
|
||||
// 1
|
||||
// 2
|
||||
// #take-while
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue