Skip to content

Commit

Permalink
small mapResult() documentation fix (#21580)
Browse files Browse the repository at this point in the history
replace `my` with `by`
  • Loading branch information
hamzaremmal authored Sep 12, 2024
2 parents e9d4831 + 787fd8e commit 08e45f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ trait Builder[-A, +To] extends Growable[A] {
}
}

/** 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]^{this, f} = new Builder[A, NewTo] {
def addOne(x: A): this.type = { self += x; this }
def clear(): Unit = self.clear()
Expand Down

0 comments on commit 08e45f1

Please sign in to comment.