Skip to content

Commit

Permalink
Hard-wrap documentation comments
Browse files Browse the repository at this point in the history
  • Loading branch information
groue committed Sep 16, 2023
1 parent eec476b commit 1e995b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ How you can Contribute
- Get familiar with the [Swift API Design Guidelines](https://www.swift.org/documentation/api-design-guidelines/).
- Spaces, not tabs.
- Whitespace-only lines are not trimmed.
- Documentation comments are hard-wrapped at column 80 (Xcode > Preferences > Text Editing > Display > [X] Page guide at column: 80).
- Documentation comments are hard-wrapped at column 76 (Xcode > Preferences > Text Editing > Display > [X] Page guide at column: 76).
- No Swiftlint warning after a build.


Expand Down
8 changes: 4 additions & 4 deletions GRDB/Core/DatabaseValueConvertible.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ public protocol DatabaseValueConvertible: SQLExpressible, StatementBinding {

/// Returns the `JSONDecoder` that decodes the value for a given column.
///
/// This method is dedicated to ``DatabaseValueConvertible`` types that also conform
/// to the standard `Decodable` protocol.
/// This method is dedicated to ``DatabaseValueConvertible`` types that
/// also conform to the standard `Decodable` protocol.
static func databaseJSONDecoder() -> JSONDecoder

/// Returns the `JSONEncoder` that encodes the value for a given column.
///
/// This method is dedicated to ``DatabaseValueConvertible`` types that also conform
/// to the standard `Encodable` protocol.
/// This method is dedicated to ``DatabaseValueConvertible`` types that
/// also conform to the standard `Encodable` protocol.
static func databaseJSONEncoder() -> JSONEncoder
}

Expand Down

0 comments on commit 1e995b6

Please sign in to comment.