summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-01-23 02:37:58 +0800
committer魏曹先生 <1992414357@qq.com>2026-01-23 02:59:45 +0800
commit137c41af5336d06351d95a37788401dd093efe19 (patch)
tree4646f736f315e928a32320e28f68777807e24503 /templates
parent47bf9b75f6dd8c2d3c3f1fb947a16e0e055f49cf (diff)
Fix: convert renderer_list to .rs to stop RA false errors
Diffstat (limited to 'templates')
-rw-r--r--templates/renderer_list.rs.template (renamed from templates/renderer_list.txt)4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/renderer_list.txt b/templates/renderer_list.rs.template
index cfc8105..37f0f1b 100644
--- a/templates/renderer_list.txt
+++ b/templates/renderer_list.rs.template
@@ -3,14 +3,14 @@ match renderer_str {
// -- TEMPLATE START --
"<<NAME>>" => {
Self::process_with_renderer::<
- <<TYPE>>,
+ RendererType
>(args, ctx)
.await
}
// -- TEMPLATE END --
_ => {
return Err(CmdProcessError::Render(CmdRenderError::RendererNotFound(
- renderer,
+ renderer_str.to_string(),
)));
}
}