Changes infinite sequence to struct.
This commit is contained in:
parent
578f270252
commit
9712c6d45c
|
|
@ -11,7 +11,7 @@ import Foundation
|
|||
/**
|
||||
Sequence that repeats `repeatedValue` infinite number of times.
|
||||
*/
|
||||
class InfiniteSequence<E> : SequenceType {
|
||||
struct InfiniteSequence<E> : SequenceType {
|
||||
typealias Element = E
|
||||
typealias Generator = AnyGenerator<E>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue