summaryrefslogtreecommitdiff
path: root/templates/_specific_renderer_matching.rs.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_specific_renderer_matching.rs.template')
-rw-r--r--templates/_specific_renderer_matching.rs.template17
1 files changed, 9 insertions, 8 deletions
diff --git a/templates/_specific_renderer_matching.rs.template b/templates/_specific_renderer_matching.rs.template
index 4f1c7d2..bd41406 100644
--- a/templates/_specific_renderer_matching.rs.template
+++ b/templates/_specific_renderer_matching.rs.template
@@ -1,12 +1,13 @@
// Auto generated by build.rs
match type_id {
-// MATCHING
-// -- TEMPLATE START --
- type_id if type_id == std::any::TypeId::of::<OutputType>() => {
- RendererType::render(
- &data.downcast::<OutputType>()
- .unwrap()).await
- },
-// -- TEMPLATE END --
+>>>>>>>>>> renderer_match_arms
_ => Err(CmdRenderError::RendererNotFound(format!("{:?}", type_id)))
}
+
+@@@ >>> renderer_match_arms
+ type_id if type_id == std::any::TypeId::of::<<<<output_type>>>>() => {
+ <<<renderer_type>>>::render(
+ &data.downcast::<<<<output_type>>>>()
+ .unwrap()).await
+ },
+@@@ <<<