summaryrefslogtreecommitdiff
path: root/04-identifiers-names-and-scopes.md
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2014-03-25 15:51:04 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2014-03-25 15:51:04 -0700
commit0bc3ec9a8e03eb7defa7488b84f5ff018c1ea32a (patch)
treeec3e65a14ce86c4427d97486e09bd19dd07cd88a /04-identifiers-names-and-scopes.md
parent2f3d0fddefdc0e11290805a0f16c68c52b1c6ffb (diff)
downloadscala-0bc3ec9a8e03eb7defa7488b84f5ff018c1ea32a.tar.gz
scala-0bc3ec9a8e03eb7defa7488b84f5ff018c1ea32a.tar.bz2
scala-0bc3ec9a8e03eb7defa7488b84f5ff018c1ea32a.zip
formatting
Diffstat (limited to '04-identifiers-names-and-scopes.md')
-rw-r--r--04-identifiers-names-and-scopes.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/04-identifiers-names-and-scopes.md b/04-identifiers-names-and-scopes.md
index 45798b82e2..57af8afc3e 100644
--- a/04-identifiers-names-and-scopes.md
+++ b/04-identifiers-names-and-scopes.md
@@ -38,8 +38,10 @@ Note that shadowing is only a partial order. In a situation like
```
val x = 1;
-{ import p.x;
- x }
+{
+ import p.x;
+ x
+}
```
neither binding of `x` shadows the other. Consequently, the