Skip to content

Commit

Permalink
Merge pull request #1861 from mitchmindtree/nightly-borrowcheck-err-w…
Browse files Browse the repository at this point in the history
…orkaround

Workaround rust nightly borrowcheck error (#1860)
  • Loading branch information
ehuss committed Jul 22, 2022
2 parents 92afe9b + 13035ba commit 8f01d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/html_handlebars/helpers/navigation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ fn render(
_h.template()
.ok_or_else(|| RenderError::new("Error with the handlebars template"))
.and_then(|t| {
let mut local_rc = rc.clone();
let local_ctx = Context::wraps(&context)?;
let mut local_rc = rc.clone();
t.render(r, &local_ctx, &mut local_rc, out)
})?;

Expand Down

0 comments on commit 8f01d02

Please sign in to comment.