10000 Fix package and other issues in Builder class. · soc-mirror/scala.github.com@3f29263 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f29263

Browse files
committed
Fix package and other issues in Builder class.
1 parent d10cb52 commit 3f29263

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

overviews/core/_posts/2010-12-15-architecture-of-scala-collections.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ support.
3838

3939
An outline of the `Builder` class:
4040

41-
package scala.collection.generic
42-
41+
package scala.collection.mutable
42+
4343
class Builder[-Elem, +To] {
4444
def +=(elem: Elem): this.type
4545
def result(): To
46-
def clear()
47-
def mapResult(f: To => NewTo): Builder[Elem, NewTo] = ...
46+
def clear(): Unit
47+
def mapResult[NewTo](f: To => NewTo): Builder[Elem, NewTo] = ...
4848
}
4949

5050
Almost all collection operations are implemented in terms of

0 commit comments

Comments
 (0)
0