diff --git a/Cargo.toml b/Cargo.toml index e362afb..31a9c13 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ name = "handlebars_concat" path = "src/lib.rs" [dependencies] -handlebars = { version = "^4" } +handlebars = { version = "^5" } serde_json = { version = "^1" } [badges] diff --git a/src/lib.rs b/src/lib.rs index 3aaa2de..8e166f7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -119,7 +119,7 @@ pub struct HandlebarsConcat; impl HelperDef for HandlebarsConcat { fn call<'reg: 'rc, 'rc>( &self, - h: &Helper<'reg, 'rc>, + h: &Helper<'rc>, r: &'reg Handlebars, _ctx: &'rc Context, _rc: &mut RenderContext<'reg, 'rc>,