Skip to content

Commit

Permalink
Merge pull request #441 from gramlang/needless-lifetimes
Browse files Browse the repository at this point in the history
Eliminate needless lifetimes
  • Loading branch information
stepchowfun authored Nov 30, 2024
2 parents 970cbd0 + afa455e commit b9615af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl fmt::Display for Error {
}

impl error::Error for Error {
fn source<'a>(&'a self) -> Option<&'a (dyn error::Error + 'static)> {
fn source(&self) -> Option<&(dyn error::Error + 'static)> {
self.reason.as_deref()
}
}
Expand Down

0 comments on commit b9615af

Please sign in to comment.