Skip to content

Commit 50c97d5

Browse files
Update _tour/pattern-matching.md
Co-authored-by: Philippus Baalman <[email protected]>
1 parent 5af3d5e commit 50c97d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: _tour/pattern-matching.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def showNotification(notification: Notification): String =
269269
s"You got an email from $sender with title: $title"
270270
case SMS(number, message) =>
271271
s"You got an SMS from $number! Message: $message"
272-
case VoiceRecording(contactName: String, link: String) =>
272+
case VoiceRecording(name, link) =>
273273
s"You received a Voice Recording from $name! Click the link to hear it: $link"
274274
```
275275
{% endtab %}

0 commit comments

Comments
 (0)