rust-multiaddr icon indicating copy to clipboard operation
rust-multiaddr copied to clipboard

Add Multiaddr::starts_with

Open nazar-pc opened this issue 2 years ago • 1 comments

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.

nazar-pc avatar Nov 19 '23 08:11 nazar-pc

Fine with me!

thomaseizinger avatar Jan 15 '24 04:01 thomaseizinger