Skip to content

Commit 9e29061

Browse files
committed
Merge pull request scala#4470 from swaldman/correct-predef-assertion-doc
Fix documentation of assertions in Predef
2 parents 1374f11 + 6f0e4c6 commit 9e29061

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/library/scala/Predef.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ import scala.io.StdIn
3636
*
3737
* A set of `assert` functions are provided for use as a way to document
3838
* and dynamically check invariants in code. `assert` statements can be elided
39-
* at runtime by providing the command line argument `-Xdisable-assertions` to
40-
* the `scala` command.
39+
* at compile time by providing the command line argument `-Xdisable-assertions` to
40+
* the `scalac` command.
4141
*
4242
* Variants of `assert` intended for use with static analysis tools are also
4343
* provided: `assume`, `require` and `ensuring`. `require` and `ensuring` are

0 commit comments

Comments
 (0)