Macro tide_tera::context [−][src]
this macro simplifies creation of ad-hoc tera::Context
s.
let mut context = tera::Context::new(); context.insert("template-engine", "tera"); assert_eq!(context, context! { "template-engine" => "tera" });