File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import scala.collection.mutable.ListBuffer
14
14
* into executable programs. Here is an example:
15
15
* {{{
16
16
* object Main extends App {
17
- * Console.println("Hello World: " + (arguments mkString ", "))
17
+ * Console.println("Hello World: " + (args mkString ", "))
18
18
* }
19
19
* }}}
20
20
* Here, object `Main` inherits the `main` method of `App`.
@@ -41,8 +41,8 @@ trait App extends DelayedInit {
41
41
/** The init hook. This saves all initialization code for execution within `main`.
42
42
* This method is normally never called directly from user code.
43
43
* Instead it is called as compiler-generated code for those classes and objects
44
- * (but not traits) that inherit from the `DelayedInit` trait and that do not themselves define
45
- * a `delayedInit` method.
44
+ * (but not traits) that inherit from the `DelayedInit` trait and that do not
45
+ * themselves define a `delayedInit` method.
46
46
* @param body the initialization code to be stored for later execution
47
47
*/
48
48
override def delayedInit (body : => Unit ) {
You can’t perform that action at this time.
0 commit comments