summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--scala.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/scala.html.markdown b/scala.html.markdown
index 201a51ab..775956cb 100644
--- a/scala.html.markdown
+++ b/scala.html.markdown
@@ -279,7 +279,7 @@ val text = if (x == 10) "yeah" else "nope"
// Object oriented features
// Classname is Dog
-class Dog (br: String) {
+class Dog(br: String) {
var breed: String = br
//A method called bark, returning a String
def bark: String = {