diff options
Diffstat (limited to '10-pattern-matching.md')
-rw-r--r-- | 10-pattern-matching.md | 4 |
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 |