summaryrefslogtreecommitdiff
path: root/mingling/src/program/hint.rs
diff options
context:
space:
mode:
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()
}