diff --git a/GRDB/Core/Cursor.swift b/GRDB/Core/Cursor.swift index a4a648837..3d9b43360 100644 --- a/GRDB/Core/Cursor.swift +++ b/GRDB/Core/Cursor.swift @@ -229,7 +229,8 @@ public final class EnumeratedCursor : Cursor { private var base: Base } -/// TODO +/// A cursor whose elements consist of the elements of some base cursor that +/// also satisfy a given predicate. public final class FilterCursor : Cursor { init(_ base: Base, _ isIncluded: @escaping (Base.Element) throws -> Bool) { self.base = base @@ -301,7 +302,6 @@ public final class MapCursor : Cursor { /// A Cursor whose elements are those of a sequence iterator. public final class IteratorCursor : Cursor { - // TODO: remove this type when `extension IteratorProtocol : Cursor { }` can be written /// Creates a cursor from a sequence iterator. public init(_ base: Base) {