Scala 3, Programming Scala.
too, since there is no point in continuing. If elem isn’t found, -1 is returned through the normal return path. Here is a slightly simplified implementation. (The full 3.3.0 source code is here): package scala.util object boundary: final class Label[-T] inline def apply[T](inline body: Label[T] ?=>