summaryrefslogtreecommitdiff
path: root/10-pattern-matching.md
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2014-03-26 01:11:09 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2014-03-26 01:11:09 -0700
commitf16ab43734906e752eba81c3e73acb44dd792bbc (patch)
treed6d15198fa95fdab655c6a255b6c98db692b6285 /10-pattern-matching.md
parent56295292f28c78ebb4421e965ec302264fe51976 (diff)
downloadscala-f16ab43734906e752eba81c3e73acb44dd792bbc.tar.gz
scala-f16ab43734906e752eba81c3e73acb44dd792bbc.tar.bz2
scala-f16ab43734906e752eba81c3e73acb44dd792bbc.zip
use simple quotes, fix indent, escape dollar
Diffstat (limited to '10-pattern-matching.md')
-rw-r--r--10-pattern-matching.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/10-pattern-matching.md b/10-pattern-matching.md
index 1271b85e83..042873e05b 100644
--- a/10-pattern-matching.md
+++ b/10-pattern-matching.md
@@ -359,7 +359,7 @@ A type pattern $T$ is of one of the following forms:
Types which are not of one of the forms described above are also
accepted as type patterns. However, such type patterns will be translated to their
[erasure](05-types.html#type-erasure). The Scala
-compiler will issue an ``unchecked'' warning for these patterns to
+compiler will issue an "unchecked" warning for these patterns to
flag the possible loss of type-safety.
A _type variable pattern_ is a simple identifier which starts with
@@ -492,7 +492,7 @@ top-level runtime-class of the value `x` conforms to
might lead to a class cast exception later on, in the case where the
list `x` contains elements other than strings. The Scala
compiler will flag this potential loss of type-safety with an
-``unchecked'' warning message.
+"unchecked" warning message.
###### Example