Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Sep 20, 2024
1 parent 933fa3d commit 8726b2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Mustache/Lambda.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
/// let name: String
/// let wrapped: MustacheLambda
/// }
/// let willy = Object(name: "Willy", wrapped: .init({ object, template in
/// return "<b>\(template.render(object))</b>"
/// let willy = Object(name: "Willy", wrapped: .init({ string in
/// return "<b>\(string)</b>"
/// }))
/// let mustache = "{{#wrapped}}{{name}} is awesome.{{/wrapped}}"
/// let template = try MustacheTemplate(string: mustache)
Expand Down

0 comments on commit 8726b2d

Please sign in to comment.