[Template] Use keyed tuples in render

This commit is contained in:
Kyle Fuller
2014-10-24 14:27:17 +01:00
parent 652a4f9c88
commit 2a40595c93

View File

@@ -18,7 +18,7 @@ public struct Template {
nodes = parser.parse()
}
public func render(context:Context) -> (String?, Error?) {
public func render(context:Context) -> (string:String?, error:Error?) {
return renderNodes(nodes, context)
}
}