Last active
March 18, 2019 16:16
-
-
Save michaeleisel/921fbe5e1eade77d769839379cbcda72 to your computer and use it in GitHub Desktop.
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
func checkIteratorState<T: Sequence, T.Element: Equatable>(sequence: T) { | |
var iterator1 = sequence.makeIterator() | |
var iterator2 = sequence.makeIterator() | |
// test equality | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment