Skip to content

Commit

Permalink
update to use handlebars v5 (#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
campeis authored Feb 17, 2024
1 parent c703b6f commit f026b9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/rune/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ atty = { version = "0.2.14", optional = true }
bincode = { version = "1.3.3", optional = true }
clap = { version = "4.2.7", features = ["derive"], optional = true }
codespan-reporting = { version = "0.11.1", optional = true }
handlebars = { version = "4.3.7", optional = true }
handlebars = { version = "5.1.0", optional = true }
pulldown-cmark = { version = "0.9.2", optional = true }
relative-path = { version = "1.8.0", optional = true, features = ["serde"] }
rust-embed = { version = "6.6.1", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/rune/src/doc/templating.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ impl Templating {
}

fn literal(
h: &Helper<'_, '_>,
h: &Helper<'_>,
_: &Handlebars<'_>,
_: &Context,
_: &mut RenderContext<'_, '_>,
Expand All @@ -97,7 +97,7 @@ fn literal(
}

fn path(paths: Paths) -> impl HelperDef + Send + Sync + 'static {
move |h: &Helper<'_, '_>,
move |h: &Helper<'_>,
_: &Handlebars<'_>,
_: &Context,
_: &mut RenderContext<'_, '_>,
Expand Down

0 comments on commit f026b9d

Please sign in to comment.