From 1126a236e31ab7921257b90501454f5a93029675 Mon Sep 17 00:00:00 2001 From: fdai7381 Date: Mon, 23 Jan 2023 10:23:59 +0100 Subject: [PATCH] refactoring: remove unneeded return statement --- src/prompt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prompt.rs b/src/prompt.rs index e1fc667..76c4dcb 100644 --- a/src/prompt.rs +++ b/src/prompt.rs @@ -84,6 +84,6 @@ impl Prompt { } pub fn get_prompt(&mut self) -> String { - return self.style.fmt_style(); + self.style.fmt_style() } }