mirror of
https://github.com/sharkdp/bat
synced 2024-11-16 00:47:58 +00:00
Remove unused lifetimes
This commit is contained in:
parent
b2b932f3ed
commit
ea27053a63
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue