DatabaseCursor has a primary associated type

This commit is contained in:
Gwendal Roué committed 2024-07-27 16:37:33 +02:00
1 parent a474a674b4
commit b11c5dd25b
1 file changed
+1 -1
+1 -1
View File
@@ -49,7 +49,7 @@
/// [`sqlite3_reset`](https://www.sqlite.org/c3ref/reset.html) when the cursor
/// is created, and when it is deallocated. Don't share the same prepared
/// statement between two cursors!
public protocol DatabaseCursor: Cursor {
public protocol DatabaseCursor<Element>: Cursor {
/// Must be initialized to false.
var _isDone: Bool { get set }