Skip to content

Commit

Permalink
Correct brackets vs braces..
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand committed Mar 15, 2017
1 parent de03208 commit 0e97d06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/01-lexical-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ comment.
## Multi-line and trailing commas
Trailing commas are allowed when followed by a newline and a closing
parentheses, brackets or braces (`)`, `}`, and `]`, respectively), such as:
parentheses, square brackets or curly braces (`)`, `]`, and `}`, respectively), such as:
```scala
foo(
Expand Down
4 changes: 2 additions & 2 deletions spec/15-changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Changes in Version 2.12.2

#### Trailing commas

Trailing commas when multi-line and enclosed by parentheses, brackets or braces
(`)`, `}`, and `]`, respectively) are supported, via
Trailing commas when multi-line and enclosed by parentheses, square brackets or curly braces
(`)`, `]`, and `}`, respectively) are supported, via
[SIP-27](http://docs.scala-lang.org/sips/completed/trailing-commas.html).

Changes in Version 2.8.0
Expand Down

0 comments on commit 0e97d06

Please sign in to comment.