mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
Documentation fix
This commit is contained in:
1 parent
9f60d63a6b
commit
1a17efcf8e
1 file changed
+2
-3
@@ -245,9 +245,8 @@ public struct VariantRowAdapter : RowAdapter {
|
||||
|
||||
/// Creates a variant adapter.
|
||||
///
|
||||
/// - parameters:
|
||||
/// - mainAdapter: An eventual row adapter to be applied by default
|
||||
/// - variants: A dictionary that maps variant names to row adapters.
|
||||
/// - parameter variants: A dictionary that maps variant names to
|
||||
/// row adapters.
|
||||
public init(variants: [String: RowAdapter]) {
|
||||
self.mainAdapter = SuffixRowAdapter(fromIndex: 0)
|
||||
self.variants = variants
|
||||
|
||||
Reference in new issue
Block a user