Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/main/scala/scalatutorial/sections/StandardLibrary.scala
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@ object StandardLibrary extends ScalaTutorialSection {
* // Same as `x :: Nil`
* case List(x) => …
* // The empty list, same as `Nil`
* case List() =>
* // A list that contains as only element another list that starts with `2`
* case List(2 :: xs) => …
* case List() => …
* }
* }}}
*
Expand Down