summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index f03f605..8c8e3e2 100644
--- a/README.md
+++ b/README.md
@@ -465,9 +465,9 @@ match val {
// Destructuring Enums
match shape {
- Shape::Circle(r) => println "Radius: {r}",
- Shape::Rect(w, h) => println "Area: {w*h}",
- Shape::Point => println "Point"
+ Shape::Circle(r) => { println "Radius: {r}" },
+ Shape::Rect(w, h) => { println "Area: {w*h}" },
+ Shape::Point => { println "Point" },
}
```