Update docs

This commit is contained in:
Adam Fowler
2024-09-20 10:22:47 +01:00
parent 933fa3d60f
commit 8726b2d119

View File

@@ -23,8 +23,8 @@
/// let name: String /// let name: String
/// let wrapped: MustacheLambda /// let wrapped: MustacheLambda
/// } /// }
/// let willy = Object(name: "Willy", wrapped: .init({ object, template in /// let willy = Object(name: "Willy", wrapped: .init({ string in
/// return "<b>\(template.render(object))</b>" /// return "<b>\(string)</b>"
/// })) /// }))
/// let mustache = "{{#wrapped}}{{name}} is awesome.{{/wrapped}}" /// let mustache = "{{#wrapped}}{{name}} is awesome.{{/wrapped}}"
/// let template = try MustacheTemplate(string: mustache) /// let template = try MustacheTemplate(string: mustache)