Skip to content

Commit

Permalink
[eclipse-iceoryx#264] Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
elfenpiff committed Sep 4, 2024
1 parent 6ad9d12 commit 71a6e2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions iceoryx2/src/service/config_scheme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub(crate) fn dynamic_config_storage_config<Service: crate::service::Service>(
<<Service::DynamicStorage as NamedConceptMgmt>::Configuration>::default()
.prefix(&global_config.global.prefix)
.suffix(&global_config.global.service.dynamic_config_storage_suffix)
.path_hint(&global_config.global.root_path())
.path_hint(global_config.global.root_path())
}

pub(crate) fn static_config_storage_config<Service: crate::service::Service>(
Expand All @@ -45,7 +45,7 @@ pub(crate) fn connection_config<Service: crate::service::Service>(
<<Service::Connection as NamedConceptMgmt>::Configuration>::default()
.prefix(&global_config.global.prefix)
.suffix(&global_config.global.service.connection_suffix)
.path_hint(&global_config.global.root_path())
.path_hint(global_config.global.root_path())
}

pub(crate) fn event_config<Service: crate::service::Service>(
Expand All @@ -54,7 +54,7 @@ pub(crate) fn event_config<Service: crate::service::Service>(
<<Service::Event as NamedConceptMgmt>::Configuration>::default()
.prefix(&global_config.global.prefix)
.suffix(&global_config.global.service.event_connection_suffix)
.path_hint(&global_config.global.root_path())
.path_hint(global_config.global.root_path())
}

pub(crate) fn data_segment_config<Service: crate::service::Service>(
Expand All @@ -63,7 +63,7 @@ pub(crate) fn data_segment_config<Service: crate::service::Service>(
<<Service::SharedMemory as NamedConceptMgmt>::Configuration>::default()
.prefix(&global_config.global.prefix)
.suffix(&global_config.global.service.publisher_data_segment_suffix)
.path_hint(&global_config.global.root_path())
.path_hint(global_config.global.root_path())
}

pub(crate) fn node_monitoring_config<Service: crate::service::Service>(
Expand Down

0 comments on commit 71a6e2a

Please sign in to comment.