summaryrefslogtreecommitdiff
path: root/mingling/src/program/hint.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-03-29 15:00:09 +0800
committer魏曹先生 <1992414357@qq.com>2026-03-29 15:00:09 +0800
commit586c206e50bb8e9a1376f65975f1c9916b1cde7e (patch)
tree7d416ad11b65ab27d3dbf056dfccc1c1cfcde4c4 /mingling/src/program/hint.rs
parent338361a8fca469745454e0f067c93739542d4ff0 (diff)
Apply clippy fixes
Diffstat (limited to 'mingling/src/program/hint.rs')
-rw-r--r--mingling/src/program/hint.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling/src/program/hint.rs b/mingling/src/program/hint.rs
index bf35fea..f8eb01e 100644
--- a/mingling/src/program/hint.rs
+++ b/mingling/src/program/hint.rs
@@ -73,7 +73,7 @@ impl Dispatcher for RendererNotFound {
fn begin(&self, args: Vec<String>) -> ChainProcess {
AnyOutput::new(NoRendererFound {
- type_to_render: args.get(0).unwrap().clone(),
+ type_to_render: args.first().unwrap().clone(),
})
.route_renderer()
}