From 1a5a121b33203921a5415bead23705b3086a6419 Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Wed, 26 Aug 2020 18:53:50 +0200 Subject: [PATCH] small cleanups --- .gitignore | 1 - src/components/changes.rs | 2 +- src/strings.rs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 827a02d9..715365c3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,3 @@ .DS_Store /.idea/ flamegraph.svg -KEY_CONFIG.md diff --git a/src/components/changes.rs b/src/components/changes.rs index cd7c754c..a67ec317 100644 --- a/src/components/changes.rs +++ b/src/components/changes.rs @@ -26,7 +26,7 @@ pub struct ChangesComponent { key_config: SharedKeyConfig, } -impl<'a> ChangesComponent { +impl ChangesComponent { /// pub fn new( title: &str, diff --git a/src/strings.rs b/src/strings.rs index 14626335..aa5b5f11 100644 --- a/src/strings.rs +++ b/src/strings.rs @@ -546,7 +546,7 @@ pub mod commands { ) -> CommandText { CommandText::new( format!( - "Details Inspect [{}]", + "Details [{}]", get_hint(key_config.log_commit_details), ), "open details of selected commit",