Skip to content

Commit

Permalink
Merge pull request scala#10861 from hamzaremmal/scala3-backport
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand authored Sep 12, 2024
2 parents 31538fb + 2aa5d8d commit b6f70d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/scala/collection/mutable/Builder.scala
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ trait Builder[-A, +To] extends Growable[A] { self =>
}
}

/** A builder resulting from this builder my mapping the result using `f`. */
/** A builder resulting from this builder by mapping the result using `f`. */
def mapResult[NewTo](f: To => NewTo): Builder[A, NewTo] = new Builder[A, NewTo] {
def addOne(x: A): this.type = { self += x; this }
def clear(): Unit = self.clear()
Expand Down

0 comments on commit b6f70d2

Please sign in to comment.