From a3720469ed5c1f741c7e0db6fefdac66c8f49e01 Mon Sep 17 00:00:00 2001 From: AnthonyMichaelTDM <68485672+AnthonyMichaelTDM@users.noreply.github.com> Date: Thu, 2 May 2024 23:43:49 -0700 Subject: [PATCH] Refactor prompt message for backend database URL in create_project function --- create-rust-app_cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-rust-app_cli/src/main.rs b/create-rust-app_cli/src/main.rs index 150f9a00..9a6da5af 100644 --- a/create-rust-app_cli/src/main.rs +++ b/create-rust-app_cli/src/main.rs @@ -262,7 +262,7 @@ fn create_project( println!("Press Enter will use default backend database url as config"); Input::new() - .with_prompt(format!("{:?} url", backend_database)) + .with_prompt(format!("{backend_database:?} url")) .default("postgres://postgres:postgres@localhost/database".into()) .show_default(false) .interact_text()?