diff options
author | Janek Bogucki <janekdb@gmail.com> | 2015-06-30 22:55:28 +0100 |
---|---|---|
committer | Janek Bogucki <janekdb@gmail.com> | 2015-06-30 22:55:28 +0100 |
commit | 3fc4dd8b9656cf7e2947a4b0be2b0aab7261bd22 (patch) | |
tree | 83d2d025881074b48638f1a87b1eea9ad4e0840b /src/scaladoc/scala/tools/nsc/doc/model/ModelFactory.scala | |
parent | c8fbc41631da0a860f749479a610312814c0e88f (diff) | |
download | scala-3fc4dd8b9656cf7e2947a4b0be2b0aab7261bd22.tar.gz scala-3fc4dd8b9656cf7e2947a4b0be2b0aab7261bd22.tar.bz2 scala-3fc4dd8b9656cf7e2947a4b0be2b0aab7261bd22.zip |
Fix 27 typos (p-r)
Diffstat (limited to 'src/scaladoc/scala/tools/nsc/doc/model/ModelFactory.scala')
-rw-r--r-- | src/scaladoc/scala/tools/nsc/doc/model/ModelFactory.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scaladoc/scala/tools/nsc/doc/model/ModelFactory.scala b/src/scaladoc/scala/tools/nsc/doc/model/ModelFactory.scala index 3cbcbc433e..8ae31ce1c3 100644 --- a/src/scaladoc/scala/tools/nsc/doc/model/ModelFactory.scala +++ b/src/scaladoc/scala/tools/nsc/doc/model/ModelFactory.scala @@ -478,7 +478,7 @@ class ModelFactory(val global: Global, val settings: doc.Settings) { override lazy val comment = { def nonRootTemplate(sym: Symbol): Option[DocTemplateImpl] = if (sym eq RootPackage) None else findTemplateMaybe(sym) - /* Variable precendence order for implicitly added members: Take the variable definitions from ... + /* Variable precedence order for implicitly added members: Take the variable definitions from ... * 1. the target of the implicit conversion * 2. the definition template (owner) * 3. the current template @@ -994,7 +994,7 @@ class ModelFactory(val global: Global, val settings: doc.Settings) { // pruning modules that shouldn't be documented // Why Symbol.isInitialized? Well, because we need to avoid exploring all the space available to scaladoc // from the classpath -- scaladoc is a hog, it will explore everything starting from the root package unless we - // somehow prune the tree. And isInitialized is a good heuristic for prunning -- if the package was not explored + // somehow prune the tree. And isInitialized is a good heuristic for pruning -- if the package was not explored // during typer and refchecks, it's not necessary for the current application and there's no need to explore it. (!sym.isModule || sym.moduleClass.isInitialized) && // documenting only public and protected members |