diff --git a/io/zenoh-transport/src/unicast/establishment/mod.rs b/io/zenoh-transport/src/unicast/establishment/mod.rs index da8898b353..82f37e0825 100644 --- a/io/zenoh-transport/src/unicast/establishment/mod.rs +++ b/io/zenoh-transport/src/unicast/establishment/mod.rs @@ -132,7 +132,7 @@ pub(super) fn link_priority( link: &LinkUnicast, direction: TransportLinkUnicastDirection, ) -> ZResult> { - const PRIORITY_METADATA_KEY: &'static str = "priority"; + const PRIORITY_METADATA_KEY: &str = "priority"; let link_locator = match direction { TransportLinkUnicastDirection::Inbound => link.get_src(),