Skip to content

Commit ca7b990

Browse files
committed
Address feedback
1 parent 6e96e22 commit ca7b990

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To use this library, add the following to your build.sbt:
1111
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "0.2.1"
1212
```
1313

14-
Version 0.2.1 is compatible with Scala
14+
Version 0.2.1 is compatible with Scala 2.13.0-M5. For Scala 2.13.0-M4 you should use version 0.1.1.
1515

1616
Note that there are multiple ways to cross-build projects, see https://github.com/scala/collection-strawman/wiki/FAQ#how-do-i-cross-build-my-project-against-scala-212-and-scala-213.
1717

@@ -43,7 +43,7 @@ The migration rules use scalafix. Please see the [official installation instruct
4343
```scala
4444
// project/plugins.sbt
4545

46-
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.0-RC1")
46+
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.0")
4747
```
4848

4949
### Collection213Upgrade
@@ -68,10 +68,12 @@ The `Collections213CrossCompat` rewrite upgrades to the 2.13 collections with th
6868

6969
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.
7070

71+
```scala
7172
// build.sbt
7273
scalafixDependencies += "org.scala-lang.modules" %% "scala-collection-migrations" % "0.2.1"
7374
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "0.2.1"
7475
scalacOptions ++= List("-Yrangepos", "-P:semanticdb:synthetics:on")
76+
```
7577

7678

7779
```bash

0 commit comments

Comments
 (0)