Skip to content

Commit 94add71

Browse files
authored
Merge pull request #207 from yufangong/patch-2
Collections213 => Collection213
2 parents 159bf00 + f1469d1 commit 94add71

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The migration rules use scalafix. Please see the [official installation instruct
4444
```scala
4545
// project/plugins.sbt
4646

47-
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.0")
47+
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.5")
4848
```
4949

5050
### Collection213Upgrade
@@ -59,13 +59,13 @@ scalacOptions ++= List("-Yrangepos", "-P:semanticdb:synthetics:on")
5959

6060
```bash
6161
// sbt shell
62-
> ;test:scalafix Collections213Upgrade ;scalafix Collections213Upgrade
62+
> ;test:scalafix Collection213Upgrade ;scalafix Collection213Upgrade
6363
```
6464

65-
### Collections213CrossCompat
65+
### Collection213CrossCompat
6666

6767

68-
The `Collections213CrossCompat` rewrite upgrades to the 2.13 collections with the ability to compile the code-base with 2.12 or later. This rewrite is suitable for libraries that are cross-published for multiple Scala versions.
68+
The `Collection213CrossCompat` rewrite upgrades to the 2.13 collections with the ability to compile the code-base with 2.12 or later. This rewrite is suitable for libraries that are cross-published for multiple Scala versions.
6969

7070
To cross-build for 2.12 and 2.11, the rewrite rule introduces a dependency on the scala-collection-compat module, which provides the syntax of 2.13 on 2.12 and 2.11. This enables you to write your library using the latest 2.13 collections API while still supporting users on an older Scala version.
7171

0 commit comments

Comments
 (0)