Skip to content

Commit

Permalink
Remove 'static lifetime in const
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz committed Aug 30, 2024
1 parent b5e1160 commit c01ad63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/zenoh-transport/src/unicast/establishment/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ pub(super) fn link_priority(
link: &LinkUnicast,
direction: TransportLinkUnicastDirection,
) -> ZResult<Option<Priority>> {
const PRIORITY_METADATA_KEY: &'static str = "priority";
const PRIORITY_METADATA_KEY: &str = "priority";

let link_locator = match direction {
TransportLinkUnicastDirection::Inbound => link.get_src(),
Expand Down

0 comments on commit c01ad63

Please sign in to comment.