rust-multiaddr
rust-multiaddr copied to clipboard
Add Multiaddr::starts_with
There is Multiaddr::ends_with, but for matching addresses with/without P2P ending it would be convenient to have Multiaddr::start_with method as well.
Fine with me!