Browse Source

refactoring: remove unneeded return statement

main
fdai7381 2 years ago
parent
commit
1126a236e3
  1. 2
      src/prompt.rs

2
src/prompt.rs

@ -84,6 +84,6 @@ impl Prompt {
} }
pub fn get_prompt(&mut self) -> String { pub fn get_prompt(&mut self) -> String {
return self.style.fmt_style();
self.style.fmt_style()
} }
} }
Loading…
Cancel
Save