diff options
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/Application.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/scala/Application.scala b/src/library/scala/Application.scala index fd7fe1d9f2..352f8ee3d6 100644 --- a/src/library/scala/Application.scala +++ b/src/library/scala/Application.scala @@ -47,9 +47,9 @@ trait Application extends DelayedInit { private val initCode = new ListBuffer[() => Unit] /** The init hook. This saves all initialization code for execution within `main`. - * This methos is normally never called directly from user code. - * Instead it is called as compiler-generated code for those classes, objects, and traits - * that inherit from the `DelayedInit` trait and that do not themselves define + * 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. * @param body the initialization code to be stored for later execution */ |