Skip to content

Commit dd3bad7

Browse files
committed
Prefer "for example" over "for instance"
This is because "instance" already has meaning in Scala.
1 parent ae2328f commit dd3bad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ object messages {
282282
val explanation: String = {
283283
hl"""|The identifier for `$treeKind$name` is not bound, that is,
284284
|no declaration for this identifier can be found.
285-
|That can happen, for instance, if `$name` or its declaration has either been
285+
|That can happen, for example, if `$name` or its declaration has either been
286286
|misspelt or if an import is missing."""
287287
}
288288
}

0 commit comments

Comments
 (0)