From 18fc5083bfddfe04363050c4777b34bd3151a380 Mon Sep 17 00:00:00 2001 From: Fankai Liu Date: Sun, 26 Nov 2023 17:22:02 +0800 Subject: [PATCH] cargo clippy --- src/utils/create_project.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/create_project.rs b/src/utils/create_project.rs index 337c24c..48f524a 100644 --- a/src/utils/create_project.rs +++ b/src/utils/create_project.rs @@ -621,7 +621,7 @@ fn create_basic_file( ]; for (file_name, template) in &templates { - render_and_write_to_file(&handlebars, template, &data, project_path.join(file_name))?; + render_and_write_to_file(handlebars, template, &data, project_path.join(file_name))?; } //src/middleware