summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Tisue <seth@tisue.net>2016-11-10 10:17:56 -0800
committerGitHub <noreply@github.com>2016-11-10 10:17:56 -0800
commit4c63c9f2689f278b716f41b8699b3c918766fe80 (patch)
treee4f5987ffe35e9e20e8d0564ce805cdb3a3caf5d
parentc67066209562e06135b015d6377d0a587f57ad5a (diff)
parentef35f9aa0e1b1665d3b6daebaaf441b284d6d6f4 (diff)
downloadscala-4c63c9f2689f278b716f41b8699b3c918766fe80.tar.gz
scala-4c63c9f2689f278b716f41b8699b3c918766fe80.tar.bz2
scala-4c63c9f2689f278b716f41b8699b3c918766fe80.zip
Merge pull request #5503 from dsbos/dsbos-SpecFixQuotesInProse
Spec: Fix 2 pairs of quotes in text.
-rw-r--r--spec/06-expressions.md4
-rw-r--r--spec/README.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/06-expressions.md b/spec/06-expressions.md
index 30fd94c1a8..36cd3fd3cf 100644
--- a/spec/06-expressions.md
+++ b/spec/06-expressions.md
@@ -655,7 +655,7 @@ precedence, with characters on the same line having the same precedence.
```
That is, operators starting with a letter have lowest precedence,
-followed by operators starting with ``|`', etc.
+followed by operators starting with ‘`|`’, etc.
There's one exception to this rule, which concerns
[_assignment operators_](#assignment-operators).
@@ -664,7 +664,7 @@ of simple assignment `(=)`. That is, it is lower than the
precedence of any other operator.
The _associativity_ of an operator is determined by the operator's
-last character. Operators ending in a colon ``:`' are
+last character. Operators ending in a colon ‘`:`’ are
right-associative. All other operators are left-associative.
Precedence and associativity of operators determine the grouping of
diff --git a/spec/README.md b/spec/README.md
index 9fd7c9f6ae..b19ce6441f 100644
--- a/spec/README.md
+++ b/spec/README.md
@@ -36,5 +36,5 @@ and open http://0.0.0.0:4000/. Jekyll will rebuild as you edit the markdown, but
### Unicode Character replacements
-- The unicode left and right single quotation marks (‘ and ’) have been used in place of ` and ', where the quotation marks are intended to be paired. These can be typed on a mac using Option+] for a left quote and Option+Shift+] for the right quote.
-- Similarly for left and right double quotation marks (“ and ”) in place of ". These can be typed on a mac using Option+[ and Option+Shift+].
+- The unicode left and right single quotation marks (‘ and ’ (U+2018 and U+2019, respectively)) have been used in place of ` and ', where the quotation marks are intended to be paired. These can be typed on a mac using Option+] for a left quote and Option+Shift+] for the right quote.
+- Similarly for left and right double quotation marks (“ and ” (U+201C and U+201D, respectively)) in place of ". These can be typed on a mac using Option+[ and Option+Shift+].