From 6f4df319279fc56608ee74e937a5cd1cf2f83378 Mon Sep 17 00:00:00 2001 From: Fernando Herrera Date: Sat, 2 Oct 2021 14:16:37 +0100 Subject: [PATCH] removed comments --- crates/nu-cli/src/prompt.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/nu-cli/src/prompt.rs b/crates/nu-cli/src/prompt.rs index 61cfc3ccbe..5e748f8a35 100644 --- a/crates/nu-cli/src/prompt.rs +++ b/crates/nu-cli/src/prompt.rs @@ -10,7 +10,7 @@ use { pub struct NushellPrompt { prompt_command: String, prompt_string: String, - // These are part of the struct definition in case we want to later allow + // These are part of the struct definition in case we want to allow // further customization to the shell status default_prompt_indicator: String, default_vi_insert_prompt_indicator: String, @@ -25,7 +25,6 @@ impl Default for NushellPrompt { } impl NushellPrompt { - /// Constructor for the default prompt, which takes the amount of spaces required between the left and right-hand sides of the prompt pub fn new() -> NushellPrompt { NushellPrompt { prompt_command: "".to_string(),