From 49d92dc6cedccd7f0d2e39ba61a7df919dc234d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Tue, 9 Apr 2019 20:21:34 +0200 Subject: [PATCH] Three slashes for documentation comment --- GRDB/Core/Configuration.swift | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/GRDB/Core/Configuration.swift b/GRDB/Core/Configuration.swift index 76ec7303d..887704006 100644 --- a/GRDB/Core/Configuration.swift +++ b/GRDB/Core/Configuration.swift @@ -84,20 +84,20 @@ public struct Configuration { #endif - // If set, allows custom configuration to be run every time - // a new connection is opened. - // - // This block is run after the Database's connection has opened, but - // before that connection has been made available to any read/write - // API's. - // - // For example: - // - // var config = Configuration() - // config.prepareDatabase = { db in - // db.execute(sql: "PRAGMA kdf_iter = '10000';") - // } - // + /// If set, allows custom configuration to be run every time + /// a new connection is opened. + /// + /// This block is run after the Database's connection has opened, but + /// before that connection has been made available to any read/write + /// API's. + /// + /// For example: + /// + /// var config = Configuration() + /// config.prepareDatabase = { db in + /// db.execute(sql: "PRAGMA kdf_iter = '10000';") + /// } + /// public var prepareDatabase: ((Database) throws -> Void)? // MARK: - Transactions