Skip to content

Commit 4895a4b

Browse files
som-snyttjulienrf
andauthored
Fix brackets
Co-authored-by: Julien Richard-Foy <[email protected]>
1 parent 7a3468b commit 4895a4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/core/collections-migration-213.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The most important changes in the Scala 2.13 collections library are:
1616
- The type hierarchy is simplified. `Traversable` no longer exists, only `Iterable`.
1717
- The `to[Collection]` method was replaced by the `to(Collection)` method.
1818
- The `toC` methods are strict by convention and yield the default collection type where applicable. For example, `Iterator.continually(42).take(10).toSeq` produces a `List[Int]` and without the limit would not.
19-
- `toIterable` is deprecated wherever defined. For `Iterator`, in particular, prefer `to[LazyList]`.
19+
- `toIterable` is deprecated wherever defined. For `Iterator`, in particular, prefer `to(LazyList)`.
2020
- Views have been vastly simplified and work reliably now. They no longer extend their corresponding collection type, for example, an `IndexedSeqView` no longer extends `IndexedSeq`.
2121
- `collection.breakOut` no longer exists, use `.view` and `.to(Collection)` instead.
2222
- Immutable hash sets and hash maps have a new implementation (`ChampHashSet` and `ChampHashMap`, based on the ["CHAMP" encoding](https://michael.steindorfer.name/publications/oopsla15.pdf)).

0 commit comments

Comments
 (0)