Skip to content

Commit ce4e81a

Browse files
micheloudcsobral
michelou
authored andcommitted
corrected typo in scaladoc comment
1 parent 4c21f2a commit ce4e81a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/library/scala/App.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import scala.collection.mutable.ListBuffer
1414
* into executable programs. Here is an example:
1515
* {{{
1616
* object Main extends App {
17-
* Console.println("Hello World: " + (arguments mkString ", "))
17+
* Console.println("Hello World: " + (args mkString ", "))
1818
* }
1919
* }}}
2020
* Here, object `Main` inherits the `main` method of `App`.
@@ -41,8 +41,8 @@ trait App extends DelayedInit {
4141
/** The init hook. This saves all initialization code for execution within `main`.
4242
* This method is normally never called directly from user code.
4343
* 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.
4646
* @param body the initialization code to be stored for later execution
4747
*/
4848
override def delayedInit(body: => Unit) {

0 commit comments

Comments
 (0)