Created
January 17, 2021 10:49
-
-
Save sssbohdan/d1d18f4b3e379a57721e40f63075c1a6 to your computer and use it in GitHub Desktop.
IteratorProtocol
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public protocol IteratorProtocol { | |
associatedtype Element | |
mutating func next() -> Self.Element? | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment