Skip to content

Commit 150b904

Browse files
committed
Removing "try!" statement from FailableIterator
stephencelis#785
1 parent 0a9893e commit 150b904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SQLite/Core/Statement.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public protocol FailableIterator : IteratorProtocol {
208208

209209
extension FailableIterator {
210210
public func next() -> Element? {
211-
return try! failableNext()
211+
return try? failableNext()
212212
}
213213
}
214214

0 commit comments

Comments
 (0)