mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 11:41:51 +00:00
Fix Clippy for Rust 1.90 beta (#7826)
Fix Clippy for recently released Rust 1.90 beta. There may be more changes required when Rust 1.89 stable is released in a few days, but possibly not 🤞
This commit is contained in:
@@ -63,7 +63,7 @@ impl<'de> Deserialize<'de> for PeerIdSerialized {
|
||||
struct ClearDialError<'a>(&'a DialError);
|
||||
|
||||
impl ClearDialError<'_> {
|
||||
fn most_inner_error(err: &(dyn std::error::Error)) -> &(dyn std::error::Error) {
|
||||
fn most_inner_error(err: &dyn std::error::Error) -> &dyn std::error::Error {
|
||||
let mut current = err;
|
||||
while let Some(source) = current.source() {
|
||||
current = source;
|
||||
|
||||
Reference in New Issue
Block a user