8000 Merge pull request #62 from phaller/gh-pages · soc-mirror/scala.github.com@4fba003 · GitHub
[go: up one dir, main page]

Skip to content < 8000 span data-view-component="true" class="progress-pjax-loader Progress position-fixed width-full">

Commit 4fba003

Browse files
committed
Merge pull request scala#62 from phaller/gh-pages
Fix typos in collections architecture document
2 parents d10cb52 + 3f29263 commit 4fba003

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