mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-26 08:11:39 +00:00
Fix some rustc/clippy warnings. (#895)
This commit is contained in:
@ -48,9 +48,9 @@ extern crate void;
|
||||
extern crate tokio;
|
||||
|
||||
/// Hardcoded name of the mDNS service. Part of the mDNS libp2p specifications.
|
||||
const SERVICE_NAME: &'static [u8] = b"_p2p._udp.local";
|
||||
const SERVICE_NAME: &[u8] = b"_p2p._udp.local";
|
||||
/// Hardcoded name of the service used for DNS-SD.
|
||||
const META_QUERY_SERVICE: &'static [u8] = b"_services._dns-sd._udp.local";
|
||||
const META_QUERY_SERVICE: &[u8] = b"_services._dns-sd._udp.local";
|
||||
|
||||
pub use self::behaviour::{Mdns, MdnsEvent};
|
||||
pub use self::service::MdnsService;
|
||||
|
Reference in New Issue
Block a user