diff --git a/GRDB/Documentation.docc/SwiftConcurrency.md b/GRDB/Documentation.docc/SwiftConcurrency.md index 4fcfc15fa..35ce83c57 100644 --- a/GRDB/Documentation.docc/SwiftConcurrency.md +++ b/GRDB/Documentation.docc/SwiftConcurrency.md @@ -229,5 +229,11 @@ Task { } ``` +## Topics + +### Supporting Types + +- ``GRDBSendableMetatype`` + [demo apps]: https://github.com/groue/GRDB.swift/tree/master/Documentation/DemoApps [Migrating to Swift 6]: https://www.swift.org/migration/documentation/migrationguide/ diff --git a/GRDB/Utils/Utils.swift b/GRDB/Utils/Utils.swift index dd7ce059f..47bb3a16c 100644 --- a/GRDB/Utils/Utils.swift +++ b/GRDB/Utils/Utils.swift @@ -24,10 +24,12 @@ public func databaseQuestionMarks(count: Int) -> String { } #if compiler(>=6.2) -/// A synonym for `SendableMetatype` in Swift 6.2, and `Any` otherwise. +/// A synonym for the standard `SendableMetatype` protocol in Swift 6.2, +/// and `Any` in previous compiler versions. public typealias GRDBSendableMetatype = SendableMetatype #else -/// A synonym for `SendableMetatype` in Swift 6.2, and `Any` otherwise. +/// A synonym for the standard `SendableMetatype` protocol in Swift 6.2, +/// and `Any` in previous compiler versions. public typealias GRDBSendableMetatype = Any #endif