Remove &: annotation from generated closures

This commit is contained in:
Chris Wong 2015-02-10 17:28:52 +13:00
parent fa9404872e
commit 649be1de09

View file

@ -42,7 +42,7 @@ impl<'cx, 's> Renderer<'cx, 's> {
pub fn into_expr(self) -> P<Expr> { pub fn into_expr(self) -> P<Expr> {
let Renderer { cx, stmts, w } = self; let Renderer { cx, stmts, w } = self;
quote_expr!(cx, quote_expr!(cx,
::maud::rt::make_markup(|&: $w: &mut ::std::fmt::Writer| -> Result<(), ::std::fmt::Error> { ::maud::rt::make_markup(|$w: &mut ::std::fmt::Writer| -> Result<(), ::std::fmt::Error> {
$stmts $stmts
Ok(()) Ok(())
})) }))