Skip to content

Commit d698bc7

Browse files
committed
Fix typos
1 parent 0b7a02c commit d698bc7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

GRDB/Core/DatabaseSchemaSource.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
///
55
/// - note: [**🔥 EXPERIMENTAL**](https://github.com/groue/GRDB.swift/blob/master/README.md#what-are-experimental-features)
66
///
7-
/// The use case for a custom schema source is enabling GRDB features that
8-
/// would not work with the built-in schema introspection that is provided
7+
/// The use case for a custom schema source is to enable GRDB features that
8+
/// would not work with the built-in schema introspection provided
99
/// by SQLite.
1010
///
1111
/// For example, if your database schema contains a view and you wish to use
@@ -60,9 +60,9 @@ public protocol DatabaseSchemaSource: Sendable {
6060
/// Returns the names of the columns for the primary key in the
6161
/// provided database view.
6262
///
63-
/// Return nil if no customization should happen. Return an empty array
64-
/// to specify that the view has no primary key. The default
65-
/// implementation returns nil.
63+
/// Return `nil` if no customization should happen. Return an empty
64+
/// array to specify that the view has no primary key. The default
65+
/// implementation returns `nil`.
6666
///
6767
/// In your implementation, make sure that the returned columns define
6868
/// a genuine **primary key**:
@@ -113,7 +113,7 @@ public protocol DatabaseSchemaSource: Sendable {
113113
/// those views.
114114
///
115115
/// In this case, make your schema source `public`, and have this method
116-
/// return `nil` for those unknow views. If needed, use the `db`
116+
/// return `nil` for those unknown views. If needed, use the `db`
117117
/// argument and query the database schema with
118118
/// <doc:DatabaseSchemaIntrospection> methods.
119119
///
@@ -179,7 +179,7 @@ extension DatabaseSchemaSource {
179179

180180
extension DatabaseSchemaSource {
181181
/// Returns a schema source that queries `other` when this source does
182-
/// not perform customization.
182+
/// not perform a customization.
183183
///
184184
/// For example:
185185
///

0 commit comments

Comments
 (0)