@@ -29,7 +29,7 @@ extension Unicode {
29
29
/// You can also create Unicode scalar values directly from their numeric
30
30
/// representation.
31
31
///
32
- /// let airplane = Unicode.Scalar(9992)
32
+ /// let airplane = Unicode.Scalar(9992)!
33
33
/// print(airplane)
34
34
/// // Prints "✈︎"
35
35
@frozen
@@ -171,7 +171,7 @@ extension Unicode.Scalar :
171
171
/// Scalar values representing characters that are normally unprintable or
172
172
/// that otherwise require escaping are escaped with a backslash.
173
173
///
174
- /// let tab = Unicode.Scalar(9)
174
+ /// let tab = Unicode.Scalar(9)!
175
175
/// print(tab)
176
176
/// // Prints " "
177
177
/// print(tab.escaped(asASCII: false))
@@ -182,7 +182,7 @@ extension Unicode.Scalar :
182
182
/// value; otherwise, non-ASCII characters are represented using their
183
183
/// typical string value.
184
184
///
185
- /// let bap = Unicode.Scalar(48165)
185
+ /// let bap = Unicode.Scalar(48165)!
186
186
/// print(bap.escaped(asASCII: false))
187
187
/// // Prints "밥"
188
188
/// print(bap.escaped(asASCII: true))
@@ -323,7 +323,7 @@ extension Unicode.Scalar {
323
323
/// with a value of an emoji character:
324
324
///
325
325
/// let codepoint = 127881
326
- /// let emoji = Unicode.Scalar(codepoint)
326
+ /// let emoji = Unicode.Scalar(codepoint)!
327
327
/// print(emoji)
328
328
/// // Prints "🎉"
329
329
///
0 commit comments