Merge rust-bitcoin/rust-bitcoin#3451: Remove unnecessary lifetime
afa4e1ed56
Remove unnecessary lifetime (Tobin C. Harding) Pull request description: Found by `rustc` after update to recent nightly version to `nightly-2024-10-06`. ACKs for top commit: apoelstra: ACKafa4e1ed56
successfully ran local tests storopoli: ACKafa4e1ed56
Tree-SHA512: a4b592f243d7f63c6abe12acfb872068f309af4a6ee130cc3a454235b1d2a5f2ef9219ee64927aa39cff978535b1b0944a4e19d1c8e30d00e390e982ea4b3574
This commit is contained in:
commit
aa66992827
|
@ -102,7 +102,7 @@ pub struct CannotParse<'a, T: fmt::Display + ?Sized> {
|
|||
what: &'a T,
|
||||
}
|
||||
|
||||
impl<'a, T: fmt::Display + ?Sized> fmt::Display for CannotParse<'a, T> {
|
||||
impl<T: fmt::Display + ?Sized> fmt::Display for CannotParse<'_, T> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
storage::cannot_parse(&self.input.0, &self.what, f)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue