From 787fd8ec09700f109da3cc708c32fa6e4aedee81 Mon Sep 17 00:00:00 2001 From: crunchyfrog <49813441+truecrunchyfrog@users.noreply.github.com> Date: Thu, 12 Sep 2024 13:42:13 +0200 Subject: [PATCH] small language fix replace `my` with `by` --- scala2-library-cc/src/scala/collection/mutable/Builder.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scala2-library-cc/src/scala/collection/mutable/Builder.scala b/scala2-library-cc/src/scala/collection/mutable/Builder.scala index dd57cb75da91..2d5f84c32e92 100644 --- a/scala2-library-cc/src/scala/collection/mutable/Builder.scala +++ b/scala2-library-cc/src/scala/collection/mutable/Builder.scala @@ -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()