Skip to content

Commit

Permalink
clippy: fix make wasm dead_code clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
eval-exec committed Mar 5, 2025
1 parent 9b5df4a commit 86a44f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions network/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1538,6 +1538,7 @@ pub enum TransportType {
Wss,
}

#[allow(dead_code)]
pub(crate) fn find_type(addr: &Multiaddr) -> TransportType {
let mut iter = addr.iter();

Expand Down

0 comments on commit 86a44f9

Please sign in to comment.