diff --git a/src/main/scala/scalatutorial/sections/StandardLibrary.scala b/src/main/scala/scalatutorial/sections/StandardLibrary.scala index 101821ad..09e59716 100644 --- a/src/main/scala/scalatutorial/sections/StandardLibrary.scala +++ b/src/main/scala/scalatutorial/sections/StandardLibrary.scala @@ -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() => … * } * }}} *