summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDuncan Beaton <dunckr@gmail.com>2014-07-06 20:10:15 +0100
committerDuncan Beaton <dunckr@gmail.com>2014-07-06 20:10:15 +0100
commit73195400ba731c43365078023db792ab23bca1d6 (patch)
tree6d422c1dcecf6ab63f8df45c32fd8ec9f8819c4b
parentd906122f69fa3b5165e418569c1ea63ed1c54c80 (diff)
Fix 'Immutability' typo
-rw-r--r--scala.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/scala.html.markdown b/scala.html.markdown
index 2666746e..432933c2 100644
--- a/scala.html.markdown
+++ b/scala.html.markdown
@@ -37,7 +37,7 @@ println("Hello world!")
print("Hello world")
// Declaring values is done using either var or val
-// val declarations are immutable, whereas var's are mutable. Immutablility is
+// val declarations are immutable, whereas var's are mutable. Immutability is
// a good thing.
val x = 10 // x is now 10
x = 20 // error: reassignment to val