File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ extension Unicode.Scalar :
103
103
self . _value = v
104
104
return
105
105
}
106
- // Return nil in case of invalid unicode scalar value.
106
+ // Return nil in case of an invalid unicode scalar value.
107
107
return nil
108
108
}
109
109
@@ -122,7 +122,7 @@ extension Unicode.Scalar :
122
122
/// print(bap!)
123
123
/// // Prints "밥"
124
124
///
125
- /// In case an invalid input value, nil is returned.
125
+ /// In case of an invalid input value, nil is returned.
126
126
///
127
127
/// let codepoint: UInt32 = extValue // This might be an invalid value.
128
128
/// if let bap = Unicode.Scalar(codepoint) {
@@ -321,7 +321,7 @@ extension Unicode.Scalar {
321
321
/// print(emoji)
322
322
/// // Prints "🎉"
323
323
///
324
- /// In case an invalid input value, nil is returned.
324
+ /// In case of an invalid input value, nil is returned.
325
325
///
326
326
/// let codepoint: UInt32 = extValue // This might be an invalid value.
327
327
/// if let emoji = Unicode.Scalar(codepoint) {
You can’t perform that action at this time.
0 commit comments