*: Fix clippy warnings introduced by Rust 1.65 release (#3081)

This commit is contained in:
Thomas Eizinger
2022-11-04 20:40:09 +11:00
committed by GitHub
parent f9b4af3d9d
commit b528d336cd
4 changed files with 4 additions and 0 deletions

View File

@ -74,6 +74,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
mdns: Mdns,
}
#[allow(clippy::large_enum_variant)]
enum MyBehaviourEvent {
Kademlia(KademliaEvent),
Mdns(MdnsEvent),