[SR-14611] The argument of hasSuffix that StringProtocol requires is currently wrongly named #56963
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Environment
Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55)
Target: x86_64-apple-darwin20.3.0
Additional Detail from JIRA
md5: 6ee0dc96ce528d7b90a1423b9e29abc7
Issue Description:
The argument of hasSuffix that StringProtocol requires is currently wrongly named. It should be `suffix`.
https://github.com/apple/swift/blob/main/stdlib/public/core/StringProtocol.swift#L46
The text was updated successfully, but these errors were encountered: