summaryrefslogtreecommitdiff
path: root/src
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 /src
parent47bf9b75f6dd8c2d3c3f1fb947a16e0e055f49cf (diff)
Fix: convert renderer_list to .rs to stop RA false errors
Diffstat (limited to 'src')
-rw-r--r--src/cmd/cmd_system.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/cmd/cmd_system.rs b/src/cmd/cmd_system.rs
index 229c7f0..9696947 100644
--- a/src/cmd/cmd_system.rs
+++ b/src/cmd/cmd_system.rs
@@ -25,7 +25,6 @@ where
fn get_help_str() -> String;
/// Process the command with a specified renderer, performing any necessary post-execution processing
- #[rustfmt::skip]
fn process_with_renderer_flag(
args: Vec<String>,
ctx: JVCommandContext,
@@ -36,10 +35,7 @@ where
{
async move {
let renderer_str = renderer.as_str();
- include!(concat!(
- env!("CARGO_MANIFEST_DIR"),
- "/src/cmd/renderers/renderer_list.txt"
- ))
+ include!("renderers/renderer_list.rs")
}
}