Fix takeWhile description (#28703)

This commit is contained in:
Christopher Batey 2020-03-09 16:15:48 +00:00 committed by GitHub
parent 5b485be715
commit 0f77212913
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -13,6 +13,7 @@ object TakeWhile {
// #take-while
Source(1 to 10).takeWhile(_ < 3).runForeach(println)
// prints
// 1
// 2
// #take-while