Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove unnecessary return value from forward

  • Loading branch information...
commit ab0cc1eb5352bd30a6599d1cff3a8872f759c880 1 parent b9273df
@paulbutcher authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/main/scala/Turtle.scala
View
2  src/main/scala/Turtle.scala
@@ -3,7 +3,7 @@ package com.example
trait Turtle {
def penUp()
def penDown()
- def forward(distance: Double): (Double, Double)
+ def forward(distance: Double)
def turn(angle: Double)
def getAngle: Double
def getPosition: (Double, Double)
Please sign in to comment.
Something went wrong with that request. Please try again.