 private let missingTrailingCommaReason = "Multi-line collection literals should have trailing commas."
 private let extraTrailingCommaReason = "Collection literals should not have trailing commas."
 
-public struct TrailingCommaRule: ASTRule, ConfigurationProviderRule {
+public struct TrailingCommaRule: ASTRule, CorrectableRule, ConfigurationProviderRule {
     public var configuration = TrailingCommaConfiguration()
 
     public init() {}

            contents.bridge().NSRangeToByteRange(start: $0.location, length: $0.length)
        }?.location
    }
}

        }

        guard let lastPosition = endPositions.max(), bodyLength + bodyOffset >= lastPosition else {
            return nil
        }

        let contents = file.contents.bridge()
