Skip to content
This repository was archived by the owner on May 12, 2020. It is now read-only.

Commit 5d8f792

Browse files
committed
fix: fixes clippy finds
1 parent d94bdca commit 5d8f792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ impl Display for CliError {
4949
}
5050

5151
impl Error for CliError {
52-
fn description<'a>(&'a self) -> &'a str {
52+
fn description(&self) -> &str {
5353
match *self {
5454
CliError::Generic(ref d) => &*d,
5555
CliError::FileOpen(ref d) => &*d,

0 commit comments

Comments
 (0)