rename hasPrefix(_ prefix: String) -> Bool to hasSuffix(_ suffix: String) -> Bool (#37336)

This commit is contained in:
ensan
2021-05-09 01:31:14 +09:00
committed by GitHub
parent 7f4a1d5e20
commit b24892becf

View File

@@ -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