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 5af3d5e commit 50c97d5Copy full SHA for 50c97d5
_tour/pattern-matching.md
@@ -269,7 +269,7 @@ def showNotification(notification: Notification): String =
269
s"You got an email from $sender with title: $title"
270
case SMS(number, message) =>
271
s"You got an SMS from $number! Message: $message"
272
- case VoiceRecording(contactName: String, link: String) =>
+ case VoiceRecording(name, link) =>
273
s"You received a Voice Recording from $name! Click the link to hear it: $link"
274
```
275
{% endtab %}
0 commit comments