diff options
author | TheDmitry <TheDmitry@users.noreply.github.com> | 2015-01-29 14:47:42 +0300 |
---|---|---|
committer | TheDmitry <TheDmitry@users.noreply.github.com> | 2015-01-29 14:47:42 +0300 |
commit | 823180950089e781efcea5efd1caa10a3160bd1e (patch) | |
tree | ffa950325225040497e8e0f4383899c1b9f7e982 /scala.html.markdown | |
parent | 4740936d52169e704cdca2f4cdd8b18bdcb9b9c7 (diff) | |
parent | 13c90fce6d42999d2dfdcf3503c41cdf65e36e87 (diff) |
Merge remote-tracking branch 'upstream/master' into json-ru
Diffstat (limited to 'scala.html.markdown')
-rw-r--r-- | scala.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scala.html.markdown b/scala.html.markdown index 61c735e3..ed1ddabb 100644 --- a/scala.html.markdown +++ b/scala.html.markdown @@ -453,7 +453,7 @@ def matchEverything(obj: Any): String = obj match { // feature is so powerful that Scala lets you define whole functions as // patterns: val patternFunc: Person => String = { - case Person("George", number") => s"George's number: $number" + case Person("George", number) => s"George's number: $number" case Person(name, number) => s"Random person's number: $number" } |