mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
rename hasPrefix(_ prefix: String) -> Bool to hasSuffix(_ suffix: String) -> Bool (#37336)
This commit is contained in:
@@ -43,7 +43,7 @@ public protocol StringProtocol
|
||||
var unicodeScalars: UnicodeScalarView { get }
|
||||
|
||||
func hasPrefix(_ prefix: String) -> Bool
|
||||
func hasSuffix(_ prefix: String) -> Bool
|
||||
func hasSuffix(_ suffix: String) -> Bool
|
||||
|
||||
func lowercased() -> String
|
||||
func uppercased() -> String
|
||||
|
||||
Reference in New Issue
Block a user