Skip to content

Commit 06eb846

Browse files
committed
cleanup
GitPrivacy: W2pXr4YYZj/jesWuSuWQOPnommcfD6vKK2l31W3mlAyaUVK7QXhvn3jWQFnCD7g0e1ZYPShx51U= IUUaB5ibUDg2uJcyCnsQLH83mUSLnlv9amaqiCTxbyzVNufGie7Y6RmhyfIah+X38F3sKFpFwFs=
1 parent 761f9a2 commit 06eb846

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/scala/ScalaPlayground/Lift/Immutable/LiftImmutable.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ package ScalaPlayground.Lift.Immutable
22

33
// https://www.codewars.com/kata/58905bfa1decb981da00009e
44

5-
import Direction.{Down, Up}
5+
import ScalaPlayground.Lift.Immutable.Direction.{Down, Up}
66

77
import scala.annotation.tailrec
88
import scala.collection.immutable.{ListMap, Queue}
9-
import scala.collection.mutable
109

1110
type Floor = Int
1211
enum Direction { case Up, Down }
@@ -64,7 +63,7 @@ case class State(building: Building, lift: Lift, stops: List[Floor])
6463

6564
extension (state: State) {
6665
def toPrintable: String = {
67-
import state.{building, stops, lift}
66+
import state.{building, lift, stops}
6867

6968
val sb = new StringBuilder()
7069
sb.append(s"${stops.length} stops: ${stops.mkString(", ")}\n")

0 commit comments

Comments
 (0)