Remove unused lifetimes

This commit is contained in:
sharkdp authored and David Peter committed 2018-05-10 12:20:38 +02:00
1 parent b2b932f3ed
commit ea27053a63
1 file changed
+3 -3
+3 -3
View File
@@ -102,7 +102,7 @@ impl<'a> Printer<'a> {
Ok(())
}
fn print_line_number<'s>(&self, line_number: usize) -> Option<String> {
fn print_line_number(&self, line_number: usize) -> Option<String> {
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<String> {
fn print_git_marker(&self, line_number: usize) -> Option<String> {
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<String> {
fn print_line_border(&self) -> Option<String> {
if self.options.output_components.grid() {
Some(self.colors.grid.paint("│").to_string())
} else {