summaryrefslogtreecommitdiff
path: root/spec/09-top-level-definitions.md
diff options
context:
space:
mode:
Diffstat (limited to 'spec/09-top-level-definitions.md')
-rw-r--r--spec/09-top-level-definitions.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/09-top-level-definitions.md b/spec/09-top-level-definitions.md
index b8a8dc7e0a..1c2f7ec85e 100644
--- a/spec/09-top-level-definitions.md
+++ b/spec/09-top-level-definitions.md
@@ -23,7 +23,7 @@ A compilation unit consists of a sequence of packagings, import
clauses, and class and object definitions, which may be preceded by a
package clause.
-A compilation unit
+A _compilation unit_
```scala
package $p_1$;
@@ -59,7 +59,7 @@ The exception to the implicit import of `scala.Predef` can be useful to hide, e.
Packaging ::= ‘package’ QualId [nl] ‘{’ TopStatSeq ‘}’
```
-A package is a special object which defines a set of member classes,
+A _package_ is a special object which defines a set of member classes,
objects and packages. Unlike other objects, packages are not introduced
by a definition. Instead, the set of members of a package is determined by
packagings.
@@ -100,7 +100,7 @@ are visible to each other without qualification.
PackageObject ::= ‘package’ ‘object’ ObjectDef
```
-A package object `package object $p$ extends $t$` adds the
+A _package object_ `package object $p$ extends $t$` adds the
members of template $t$ to the package $p$. There can be only one
package object per package. The standard naming convention is to place
the definition above in a file named `package.scala` that's