summaryrefslogtreecommitdiff
path: root/src/handlers/git_show_file.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/handlers/git_show_file.rs')
-rw-r--r--src/handlers/git_show_file.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handlers/git_show_file.rs b/src/handlers/git_show_file.rs
index ff670eb..2e5330d 100644
--- a/src/handlers/git_show_file.rs
+++ b/src/handlers/git_show_file.rs
@@ -2,7 +2,7 @@ use crate::delta::{State, StateMachine};
use crate::paint::{BgShouldFill, StyleSectionSpecifier};
use crate::utils::process;
-impl<'a> StateMachine<'a> {
+impl StateMachine<'_> {
// If this is a line of `git show $revision:/path/to/file.ext` output then
// syntax-highlight it as language `ext`.
pub fn handle_git_show_file_line(&mut self) -> std::io::Result<bool> {