Skip to content

Conversation

ensan-hcl
Copy link
Contributor

@ensan-hcl ensan-hcl commented May 8, 2021

SR-14611

https://github.com/apple/swift/blob/7f4a1d5e20b4f43192d2cee9dd40a6869dba7f82/stdlib/public/core/StringProtocol.swift#L46
The argument of hasSuffix that StringProtocol requires is currently wrongly named. This PR replaces its name into suffix from prefix.

Because the argument is labeled as _, this is an internal change. It wouldn't affect anywhere.

I posted a question on the forum just in case. I'm sorry if there is some purpose to name that prefix.

@xwu
Copy link
Collaborator

xwu commented May 8, 2021

@swift-ci test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants