From ea27053a632a1d379e8beba14fcdaf2fcb7e81a7 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Thu, 10 May 2018 11:45:42 +0200 Subject: [PATCH] Remove unused lifetimes --- src/printer.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/printer.rs b/src/printer.rs index 734401d7..22470249 100644 --- a/src/printer.rs +++ b/src/printer.rs @@ -102,7 +102,7 @@ impl<'a> Printer<'a> { Ok(()) } - fn print_line_number<'s>(&self, line_number: usize) -> Option { + fn print_line_number(&self, line_number: usize) -> Option { if self.options.output_components.numbers() { Some( self.colors @@ -117,7 +117,7 @@ impl<'a> Printer<'a> { } } - fn print_git_marker<'s>(&self, line_number: usize) -> Option { + fn print_git_marker(&self, line_number: usize) -> Option { if self.options.output_components.changes() { Some( if let Some(ref changes) = self.line_changes { @@ -139,7 +139,7 @@ impl<'a> Printer<'a> { } } - fn print_line_border<'s>(&self) -> Option { + fn print_line_border(&self) -> Option { if self.options.output_components.grid() { Some(self.colors.grid.paint("│").to_string()) } else {