summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2011-07-04 11:23:43 +0000
committermichelou <michelou@epfl.ch>2011-07-04 11:23:43 +0000
commit9e7d7e021cd49851257aca44b81e20427d886529 (patch)
tree60931f22133f09acb402effd3eaff874a672781e /src
parentf90c462b42b7587a9ac0f53a66e235b1b27e28c8 (diff)
downloadscala-9e7d7e021cd49851257aca44b81e20427d886529.tar.gz
scala-9e7d7e021cd49851257aca44b81e20427d886529.tar.bz2
scala-9e7d7e021cd49851257aca44b81e20427d886529.zip
corrected typo in scaladoc comment
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/App.scala6
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) {