summaryrefslogtreecommitdiff
path: root/src/scaladoc/scala/tools/nsc/doc/base
diff options
context:
space:
mode:
authorJanek Bogucki <janekdb@gmail.com>2015-06-30 22:55:28 +0100
committerJanek Bogucki <janekdb@gmail.com>2015-06-30 22:55:28 +0100
commit3fc4dd8b9656cf7e2947a4b0be2b0aab7261bd22 (patch)
tree83d2d025881074b48638f1a87b1eea9ad4e0840b /src/scaladoc/scala/tools/nsc/doc/base
parentc8fbc41631da0a860f749479a610312814c0e88f (diff)
downloadscala-3fc4dd8b9656cf7e2947a4b0be2b0aab7261bd22.tar.gz
scala-3fc4dd8b9656cf7e2947a4b0be2b0aab7261bd22.tar.bz2
scala-3fc4dd8b9656cf7e2947a4b0be2b0aab7261bd22.zip
Fix 27 typos (p-r)
Diffstat (limited to 'src/scaladoc/scala/tools/nsc/doc/base')
-rwxr-xr-xsrc/scaladoc/scala/tools/nsc/doc/base/MemberLookupBase.scala2
-rw-r--r--src/scaladoc/scala/tools/nsc/doc/base/comment/Comment.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/scaladoc/scala/tools/nsc/doc/base/MemberLookupBase.scala b/src/scaladoc/scala/tools/nsc/doc/base/MemberLookupBase.scala
index cc217d2f80..839598a15f 100755
--- a/src/scaladoc/scala/tools/nsc/doc/base/MemberLookupBase.scala
+++ b/src/scaladoc/scala/tools/nsc/doc/base/MemberLookupBase.scala
@@ -114,7 +114,7 @@ trait MemberLookupBase {
// Maintaining compatibility with previous links is a bit tricky here:
// we have a preference for term names for all terms except for the last, where we prefer a class:
// How to do this:
- // - at each step we do a DFS search with the prefered strategy
+ // - at each step we do a DFS search with the preferred strategy
// - if the search doesn't return any members, we backtrack on the last decision
// * we look for terms with the last member's name
// * we look for types with the same name, all the way up
diff --git a/src/scaladoc/scala/tools/nsc/doc/base/comment/Comment.scala b/src/scaladoc/scala/tools/nsc/doc/base/comment/Comment.scala
index a3d05ae50b..e5eb68d65a 100644
--- a/src/scaladoc/scala/tools/nsc/doc/base/comment/Comment.scala
+++ b/src/scaladoc/scala/tools/nsc/doc/base/comment/Comment.scala
@@ -93,7 +93,7 @@ abstract class Comment {
def todo: List[Body]
/** Whether the entity is deprecated. Using the `@deprecated` Scala attribute
- * is prefereable to using this Scaladoc tag. */
+ * is preferable to using this Scaladoc tag. */
def deprecated: Option[Body]
/** An additional note concerning the contract of the entity. */