We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50701f2 commit 5af3d5eCopy full SHA for 5af3d5e
_tour/pattern-matching.md
@@ -255,7 +255,7 @@ def showNotification(notification: Notification): String = {
255
s"You got an email from $sender with title: $title"
256
case SMS(number, message) =>
257
s"You got an SMS from $number! Message: $message"
258
- case VoiceRecording(contactName: String, link: String) =>
+ case VoiceRecording(name, link) =>
259
s"You received a Voice Recording from $name! Click the link to hear it: $link"
260
}
261
0 commit comments