summaryrefslogtreecommitdiff
path: root/spec/05-classes-and-objects.md
diff options
context:
space:
mode:
authorMarconi Lanna <marconilanna@users.noreply.github.com>2015-06-21 13:11:52 -0400
committerMarconi Lanna <marconilanna@users.noreply.github.com>2015-06-21 13:11:52 -0400
commit9b066dd5b349f49d3a3c1385bc25f5f128c0c5a1 (patch)
tree6d594eca03b272fa5d6d466a9031ef563dfc262c /spec/05-classes-and-objects.md
parenta3beedac5b957e3954be288b1be7c52a1d7d31b0 (diff)
downloadscala-9b066dd5b349f49d3a3c1385bc25f5f128c0c5a1.tar.gz
scala-9b066dd5b349f49d3a3c1385bc25f5f128c0c5a1.tar.bz2
scala-9b066dd5b349f49d3a3c1385bc25f5f128c0c5a1.zip
Traits mistakenly set as 'Case Classes' subsection
Instead of being its own section, a minor formatting issue causes 'Traits' to be rendered and numbered as a subsection of the section 'Case Classes'. This patch changes the numbering on both 'Traits' and 'Object Definitions' sections.
Diffstat (limited to 'spec/05-classes-and-objects.md')
-rw-r--r--spec/05-classes-and-objects.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/05-classes-and-objects.md b/spec/05-classes-and-objects.md
index 8be792d3cb..3c80ddbfb5 100644
--- a/spec/05-classes-and-objects.md
+++ b/spec/05-classes-and-objects.md
@@ -966,7 +966,7 @@ This form of extensibility can be excluded by declaring the base class
directly extend `Expr` must be in the same source file as
`Expr`.
-### Traits
+## Traits
```ebnf
TmplDef ::= `trait' TraitDef