fix ifmt spans

This commit is contained in:
Evan Almloff committed 2024-01-31 12:41:35 -06:00
1 parent af75fb855f
commit a7a3513b3f
2 files changed
+19 -57

No files matched your search

-14
View File
@@ -110,20 +110,6 @@ impl Parse for CallBody {
}
}
/// Serialize the same way, regardless of flavor
impl ToTokens for CallBody {
fn to_tokens(&self, out_tokens: &mut TokenStream2) {
let body = TemplateRenderer {
roots: &self.roots,
location: None,
};
out_tokens.append_all(quote! {
#body
})
}
}
#[derive(Default, Debug)]
pub struct RenderCallBody(pub CallBody);