Skip to content

Commit

Permalink
chore(clippy): make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Oct 25, 2022
1 parent a8203c7 commit d261944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/net/discv4/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl FromStr for NodeRecord {
Ipv4Addr::from_str(ip)
.map_err(|e| NodeRecordParseError::InvalidUrl(e.to_string()))?,
),
_ => return Err(NodeRecordParseError::InvalidUrl(format!("invalid host: {:?}", url))),
_ => return Err(NodeRecordParseError::InvalidUrl(format!("invalid host: {url:?}"))),
};
let port = url
.port()
Expand Down

0 comments on commit d261944

Please sign in to comment.