@@ -19,7 +19,7 @@ Everybody is welcome to contribute by creating merge requests!
### Standard Scala files
“Normal” Scala files (ending with `.scala`) must have a `@main` method. For example, [`01-java-threads.scala`](src/main/scala/lecture1/01-java-threads.scala), the main method is `testThreads`. You can run it from the command-line, first by entering the sbt shell:
“Normal” Scala files (ending with `.scala`) must have a `@main` method. For example, [`01-java-threads.scala`](src/main/scala/lecture1/01-javaThreads.scala), the main method is `testThreads`. You can run it from the command-line, first by entering the sbt shell:
```bash
sbt
...
...
@@ -27,15 +27,15 @@ sbt
and then by running:
```bash
runMain lecture1JavaThreads
runMain javaThreads
```
where `lecture1JavaThreads` is the name of a `@main` function. This should output something similar to:
where `javaThreads` is the name of a `@main` function. This should output something similar to:
```
sbt:cs206-demos> run lecture1JavaThreads
sbt:cs206-demos> run javaThreads
[info] compiling 1 Scala source to /Users/me/cs206-demos/target/scala-3.2.0/classes ...