Skip to content

Commit 8f01d02

Browse files
authored
Merge pull request #1861 from mitchmindtree/nightly-borrowcheck-err-workaround
Workaround rust nightly borrowcheck error (#1860)
2 parents 92afe9b + 13035ba commit 8f01d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/html_handlebars/helpers/navigation.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ fn render(
149149
_h.template()
150150
.ok_or_else(|| RenderError::new("Error with the handlebars template"))
151151
.and_then(|t| {
152-
let mut local_rc = rc.clone();
153152
let local_ctx = Context::wraps(&context)?;
153+
let mut local_rc = rc.clone();
154154
t.render(r, &local_ctx, &mut local_rc, out)
155155
})?;
156156

0 commit comments

Comments
 (0)