You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: stdlib/public/core/StringUTF16View.swift
-17Lines changed: 0 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -200,23 +200,6 @@ extension String {
200
200
publicinit(_ utf16:UTF16View){
201
201
self.init(utf16._guts)
202
202
}
203
-
204
-
#if _runtime(_ObjC)
205
-
// These may become less important once <rdar://problem/19255291> is addressed.
206
-
@available(
207
-
*, unavailable,
208
-
message:"Indexing a String's UTF16View requires a String.UTF16View.Index, which can be constructed from Int when Foundation is imported")
209
-
public subscript(i:Int)->UTF16.CodeUnit{
210
-
Builtin.unreachable()
211
-
}
212
-
213
-
@available(
214
-
*, unavailable,
215
-
message:"Slicing a String's UTF16View requires a Range<String.UTF16View.Index>, String.UTF16View.Index can be constructed from Int when Foundation is imported")
0 commit comments