From 5f013b6ee7167fd8d07340a6a45bea2770935fee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Wed, 22 Feb 2023 07:17:53 +0100 Subject: [PATCH] Layout for Xcode doc reader --- GRDB/Documentation.docc/RecordTimestamps.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/GRDB/Documentation.docc/RecordTimestamps.md b/GRDB/Documentation.docc/RecordTimestamps.md index 2afc02564..442fdd3ac 100644 --- a/GRDB/Documentation.docc/RecordTimestamps.md +++ b/GRDB/Documentation.docc/RecordTimestamps.md @@ -62,8 +62,8 @@ On insertion, the record should get fresh `creationDate` and `modificationDate`. ```swift extension Player: Encodable, MutablePersistableRecord { - /// Sets both `creationDate` and `modificationDate` to the transaction date, - /// if they are not set yet. + /// Sets both `creationDate` and `modificationDate` to the + /// transaction date, if they are not set yet. mutating func willInsert(_ db: Database) throws { if creationDate == nil { creationDate = try db.transactionDate @@ -316,8 +316,8 @@ extension Player: Encodable, MutablePersistableRecord { id = inserted.rowID } - /// Sets both `creationDate` and `modificationDate` to the transaction date, - /// if they are not set yet. + /// Sets both `creationDate` and `modificationDate` to the + /// transaction date, if they are not set yet. mutating func willInsert(_ db: Database) throws { if creationDate == nil { creationDate = try db.transactionDate