on master help sign in
Remove unused lifetimes
commitea27053a632a1d379e8beba14fcdaf2fcb7e81a7 authorsharkdp <davidpeter@web.de> dateThu 10 May 2018, 11:45 (8 years ago) parentb2b932f
1 file changed+3−3
src/printer.rs+3−3
src/printer.rs+3−3
@@ -102,7 +102,7 @@ impl<'a> Printer<'a> {
102102 Ok(())
103103 }
104104
105− fn print_line_number<'s>(&self, line_number: usize) -> Option<String> {
105+ fn print_line_number(&self, line_number: usize) -> Option<String> {
106106 if self.options.output_components.numbers() {
107107 Some(
108108 self.colors
@@ -117,7 +117,7 @@ impl<'a> Printer<'a> {
117117 }
118118 }
119119
120− fn print_git_marker<'s>(&self, line_number: usize) -> Option<String> {
120+ fn print_git_marker(&self, line_number: usize) -> Option<String> {
121121 if self.options.output_components.changes() {
122122 Some(
123123 if let Some(ref changes) = self.line_changes {
@@ -139,7 +139,7 @@ impl<'a> Printer<'a> {
139139 }
140140 }
141141
142− fn print_line_border<'s>(&self) -> Option<String> {
142+ fn print_line_border(&self) -> Option<String> {
143143 if self.options.output_components.grid() {
144144 Some(self.colors.grid.paint("│").to_string())
145145 } else {