diff options
author | michelou <michelou@epfl.ch> | 2011-07-04 11:23:43 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2011-07-04 11:23:43 +0000 |
commit | 9e7d7e021cd49851257aca44b81e20427d886529 (patch) | |
tree | 60931f22133f09acb402effd3eaff874a672781e /src/library | |
parent | f90c462b42b7587a9ac0f53a66e235b1b27e28c8 (diff) | |
download | scala-9e7d7e021cd49851257aca44b81e20427d886529.tar.gz scala-9e7d7e021cd49851257aca44b81e20427d886529.tar.bz2 scala-9e7d7e021cd49851257aca44b81e20427d886529.zip |
corrected typo in scaladoc comment
Diffstat (limited to 'src/library')
-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) { |