Skip to content

Commit

Permalink
Fix typo in collection.mutable.Builder
Browse files Browse the repository at this point in the history
Co-authored-by: crunchyfrog <49813441+truecrunchyfrog@users.noreply.github.com>
  • Loading branch information
hamzaremmal and truecrunchyfrog committed Sep 12, 2024
1 parent 7436b5e commit 2aa5d8d
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 2aa5d8d

Please sign in to comment.