diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/App.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/scala/App.scala b/src/library/scala/App.scala index 826278ade0..f42dc7da94 100644 --- a/src/library/scala/App.scala +++ b/src/library/scala/App.scala @@ -14,7 +14,7 @@ import scala.collection.mutable.ListBuffer * into executable programs. Here is an example: * {{{ * object Main extends App { - * Console.println("Hello World: " + (arguments mkString ", ")) + * Console.println("Hello World: " + (args mkString ", ")) * } * }}} * Here, object `Main` inherits the `main` method of `App`. @@ -41,8 +41,8 @@ trait App extends DelayedInit { /** The init hook. This saves all initialization code for execution within `main`. * This method is normally never called directly from user code. * Instead it is called as compiler-generated code for those classes and objects - * (but not traits) that inherit from the `DelayedInit` trait and that do not themselves define - * a `delayedInit` method. + * (but not traits) that inherit from the `DelayedInit` trait and that do not + * themselves define a `delayedInit` method. * @param body the initialization code to be stored for later execution */ override def delayedInit(body: => Unit) { |