Swiftlint + whitespace

This commit is contained in:
Gwendal Roué committed 2019-07-01 08:57:53 +02:00
1 parent b3215cc471
commit df6bb8761c
110 files changed
+3257 -1572

No files matched your search

@@ -96,7 +96,13 @@ extension Database {
/// - module: a VirtualTableModule
/// - body: An optional closure that defines the virtual table.
/// - throws: A DatabaseError whenever an SQLite error occurs.
public func create<Module: VirtualTableModule>(virtualTable tableName: String, ifNotExists: Bool = false, using module: Module, _ body: ((Module.TableDefinition) -> Void)? = nil) throws {
public func create<Module: VirtualTableModule>(
virtualTable tableName: String,
ifNotExists: Bool = false,
using module: Module,
_ body: ((Module.TableDefinition) -> Void)? = nil)
throws
{
// Define virtual table
let definition = module.makeTableDefinition()
if let body = body {