underscoreio/essential-scala

Duplicate line (B.6.2.1)

Closed this issue · 2 comments

B.6.2.1 Using Mutable Collections Safely

import scala.collection.mutable
import scala.collection.mutable // Duplicaate line

mutable.Seq(1, 2, 3)
// res: scala.collection.mutable.Seq[Int] = ArrayBuffer(1, 2, 3)

Seq(1, 2, 3)
// res: Seq[Int] = List(1, 2, 3)

Thanks for the feedback!