Skip to content

Commit cbe2dfc

Browse files
authored
Merge pull request swiftlang#32729 from valeriyvan/snippencharacter
2 parents c9c295a + adeb97a commit cbe2dfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/Character.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
/// string in a particular binary representation.
3131
///
3232
/// print("Unicode scalar value count: \(greeting.unicodeScalars.count)")
33-
/// // Prints "Unicode scalar value count: 15"
33+
/// // Prints "Unicode scalar value count: 8"
3434
///
3535
/// print("UTF-8 representation count: \(greeting.utf8.count)")
36-
/// // Prints "UTF-8 representation count: 18"
36+
/// // Prints "UTF-8 representation count: 11"
3737
///
3838
/// Every `Character` instance is composed of one or more Unicode scalar values
3939
/// that are grouped together as an *extended grapheme cluster*. The way these

0 commit comments

Comments
 (0)