span

object span

This object can be used as closing token if you prefer dot-less style but do not want to enable language.postfixOps:

import scala.concurrent.duration._

val duration = 2 seconds span
Source:
package.scala
class Object
trait Matchable
class Any
span.type