Skip to content

Commit 6a25b35

Browse files
committed
DocC for GRDBSendableMetatype
1 parent 7ec88b7 commit 6a25b35

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

GRDB/Documentation.docc/SwiftConcurrency.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,5 +229,11 @@ Task {
229229
}
230230
```
231231

232+
## Topics
233+
234+
### Supporting Types
235+
236+
- ``GRDBSendableMetatype``
237+
232238
[demo apps]: https://github.com/groue/GRDB.swift/tree/master/Documentation/DemoApps
233239
[Migrating to Swift 6]: https://www.swift.org/migration/documentation/migrationguide/

GRDB/Utils/Utils.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ public func databaseQuestionMarks(count: Int) -> String {
2424
}
2525

2626
#if compiler(>=6.2)
27-
/// A synonym for `SendableMetatype` in Swift 6.2, and `Any` otherwise.
27+
/// A synonym for the standard `SendableMetatype` protocol in Swift 6.2,
28+
/// and `Any` in previous compiler versions.
2829
public typealias GRDBSendableMetatype = SendableMetatype
2930
#else
30-
/// A synonym for `SendableMetatype` in Swift 6.2, and `Any` otherwise.
31+
/// A synonym for the standard `SendableMetatype` protocol in Swift 6.2,
32+
/// and `Any` in previous compiler versions.
3133
public typealias GRDBSendableMetatype = Any
3234
#endif
3335

0 commit comments

Comments
 (0)