Skip to content

Replaces references to indexOf(_:) with index(of:). #696

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

philium
Copy link
Contributor

@philium philium commented Mar 10, 2018

Checklist

Description

Replaces example usage of indexOf(_:) with Collection.index(of:). The global function indexOf(_:) was replaced with Collection.index(of:) in Swift 2.

The global function `indexOf(_:)` was replaced with
`Collection.index(of:)` in Swift 2.
@kelvinlauKL
Copy link
Member

Thanks :)

@kelvinlauKL kelvinlauKL merged commit acac45f into kodecocodes:master Mar 11, 2018
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