Documentation fix

This commit is contained in:
Gwendal Roué committed 2016-06-09 08:28:17 +02:00
1 parent 9f60d63a6b
commit 1a17efcf8e
1 file changed
+2 -3
+2 -3
View File
@@ -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