tera
tera copied to clipboard
Add Context::get_mut
Adds Context::get_mut to retrieve a mutable reference to one of the values.
For my use case I need to run many templates in a loop and edit a value in the context every iteration. This lets me edit the value in place which is much cheaper than cloning