Skip to content

Commit 385f435

Browse files
author
Nathan Fallet
authored
Merge pull request #1075 from stephencelis/failable
2 parents 3f004eb + 870cf7b commit 385f435

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/SQLite/Core/Statement.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@ public protocol FailableIterator: IteratorProtocol {
207207

208208
extension FailableIterator {
209209
public func next() -> Element? {
210-
try? failableNext()
210+
// swiftlint:disable:next force_try
211+
try! failableNext()
211212
}
212213
}
213214

0 commit comments

Comments
 (0)