Skip to content

Commit eb3760b

Browse files
committed
More typos found by misspell
Install https://github.com/client9/misspell, run ``` git ls-files '*.scala'|egrep -v 'scala2-library|scala-backend|collection-strawman'|xargs misspell ``` and review output.
1 parent cde98e6 commit eb3760b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc-tool/src/dotty/tools/dottydoc/util/MemberLookup.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import model._
1616
trait MemberLookup {
1717
/** Performs a lookup based on the provided (pruned) query string
1818
*
19-
* Will return a `Tooltip` if unsucessful, otherwise a LinkToEntity or
19+
* Will return a `Tooltip` if unsuccessful, otherwise a LinkToEntity or
2020
* LinkToExternal
2121
*/
2222
def lookup(entity: Entity, packages: Map[String, Package], query: String): Option[Entity] = {

tests/pos/sams.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ object test {
6969
// synthesizeSAMFunction where the sam type is not fully defined
7070
class T {
7171
trait F[T, U] { def apply(x: T): U }
72-
// this is an inner trait, that will recieve an abstract $outer pointer. Not a SAM.
72+
// this is an inner trait, that will receive an abstract $outer pointer. Not a SAM.
7373
def app[T, U](x: T)(f: F[T, U]): U = f(x)
7474
app(1)(x => List(x))
7575
}

0 commit comments

Comments
 (0)