Skip to content

Commit 08e45f1

Browse files
authored
small mapResult() documentation fix (#21580)
replace `my` with `by`
2 parents e9d4831 + 787fd8e commit 08e45f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scala2-library-cc/src/scala/collection/mutable/Builder.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ trait Builder[-A, +To] extends Growable[A] {
8080
}
8181
}
8282

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

0 commit comments

Comments
 (0)