Skip to content
Snippets Groups Projects
Commit 724037b9 authored by Manos Koukoutos's avatar Manos Koukoutos
Browse files

Redundant parens

parent 9f90c3cf
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,7 @@ sealed abstract class List[T] {
def zip[B](that: List[B]): List[(T, B)] = { (this, that) match {
case (Cons(h1, t1), Cons(h2, t2)) =>
Cons((h1, h2), t1.zip(t2))
case (_) =>
case _ =>
Nil()
}} ensuring { _.size == (
if (this.size <= that.size) this.size else that.size
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment