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.
2 parents ed49c80 + 50c97d5 commit 00302d7Copy full SHA for 00302d7
_tour/pattern-matching.md
@@ -255,6 +255,8 @@ 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(name, link) =>
259
+ s"You received a Voice Recording from $name! Click the link to hear it: $link"
260
}
261
262
```
@@ -267,6 +269,8 @@ def showNotification(notification: Notification): String =
267
269
268
270
271
272
273
274
275
{% endtab %}
276
{% endtabs %}
0 commit comments