Skip to content

Commit 02599cf

Browse files
Rename anyGenerator to AnyGenerator
1 parent d09a1c4 commit 02599cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SQLite/Core/Statement.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ extension Cursor : SequenceType {
271271

272272
public func generate() -> AnyGenerator<Binding?> {
273273
var idx = 0
274-
return anyGenerator {
274+
return AnyGenerator {
275275
idx >= self.columnCount ? Optional<Binding?>.None : self[idx++]
276276
}
277277
}

SQLite/Typed/Query.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ extension Connection {
920920
}()
921921

922922
return AnySequence {
923-
anyGenerator { statement.next().map { Row(columnNames, $0) } }
923+
AnyGenerator { statement.next().map { Row(columnNames, $0) } }
924924
}
925925
}
926926

0 commit comments

Comments
 (0)