fixed typos

This commit is contained in:
Ilya Puchka
2017-12-27 13:29:13 +01:00
parent ac2fd56e8e
commit a165a6715f

View File

@@ -43,7 +43,7 @@ public struct Environment {
}
func render(template: Template, context: [String: Any]?) throws -> String {
// update temaplte environment as it cen be created from string literal with default environment
// update template environment as it can be created from string literal with default environment
template.environment = self
return try template.render(context)
}