Changes infinite sequence to struct.

This commit is contained in:
Krunoslav Zaher 2015-12-28 01:02:55 +01:00
parent 578f270252
commit 9712c6d45c
1 changed files with 1 additions and 1 deletions

View File

@ -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>