Skip to content

Commit 26efa24

Browse files
committed
[String] Delete dead code; NFC
1 parent 72bc593 commit 26efa24

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

stdlib/public/core/String.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,6 @@ extension StringProtocol {
150150
}
151151
return String(String.CharacterView(self))
152152
}
153-
154-
internal var _persistentString : String {
155-
if _fastPath(self is _SwiftStringView) {
156-
return (self as! _SwiftStringView)._persistentContent
157-
}
158-
return String(String.CharacterView(self))
159-
}
160153
}
161154

162155
extension String : _SwiftStringView {

0 commit comments

Comments
 (0)