Skip to content

Commit 5af3d5e

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

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
@@ -255,7 +255,7 @@ def showNotification(notification: Notification): String = {
255255
s"You got an email from $sender with title: $title"
256256
case SMS(number, message) =>
257257
s"You got an SMS from $number! Message: $message"
258-
case VoiceRecording(contactName: String, link: String) =>
258+
case VoiceRecording(name, link) =>
259259
s"You received a Voice Recording from $name! Click the link to hear it: $link"
260260
}
261261
}

0 commit comments

Comments
 (0)