Skip to content

Commit 256dc46

Browse files
committed
Be explicit that nothing is printed.
Calling it out prevents a reader from wondering whether the "prints" comment is missing.
1 parent 1b59bb8 commit 256dc46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/TSPL/TSPL.docc/GuidedTour/GuidedTour.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ using the same name for that unwrapped value.
470470
if let nickname {
471471
print("Hey, \(nickname)")
472472
}
473+
// Doesn't print anything, because nickname is nil.
473474
```
474475

475476
<!--

0 commit comments

Comments
 (0)