Skip to content

Commit 4b9d5d5

Browse files
Valpertuinatecook1000
authored andcommitted
Improve lowercased comments documentation (#12579)
Differentiate better between a full string character lowercased and a first character only lowercased
1 parent c1ac1cd commit 4b9d5d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/String.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,9 +1138,9 @@ extension String {
11381138
///
11391139
/// Here's an example of transforming a string to all lowercase letters.
11401140
///
1141-
/// let cafe = "Café 🍵"
1141+
/// let cafe = "BBQ Café 🍵"
11421142
/// print(cafe.lowercased())
1143-
/// // Prints "café 🍵"
1143+
/// // Prints "bbq café 🍵"
11441144
///
11451145
/// - Returns: A lowercase copy of the string.
11461146
///

0 commit comments

Comments
 (0)