Skip to content

Commit a3a20d9

Browse files
authored
Use a shorter example string. (#32557)
Fixes <rdar://problem/64180813>.
1 parent af52886 commit a3a20d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/Collection.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ public protocol Collection: Sequence {
491491
///
492492
/// let horseName = "Silver"
493493
/// if horseName.isEmpty {
494-
/// print("I've been through the desert on a horse with no name.")
494+
/// print("My horse has no name.")
495495
/// } else {
496496
/// print("Hi ho, \(horseName)!")
497497
/// }
@@ -1070,7 +1070,7 @@ extension Collection {
10701070
///
10711071
/// let horseName = "Silver"
10721072
/// if horseName.isEmpty {
1073-
/// print("I've been through the desert on a horse with no name.")
1073+
/// print("My horse has no name.")
10741074
/// } else {
10751075
/// print("Hi ho, \(horseName)!")
10761076
/// }

0 commit comments

Comments
 (0)