Skip to content

Commit 5a5dbc7

Browse files
committed
[#709] Fix clippy warnings
1 parent 3ee0f1d commit 5a5dbc7

File tree

1 file changed

+1
-4
lines changed
  • iceoryx2-cli/iox2-tunnel/src/command

1 file changed

+1
-4
lines changed

iceoryx2-cli/iox2-tunnel/src/command/zenoh.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ pub(crate) fn zenoh(
2525
discovery_service: Option<String>,
2626
rate_ms: Option<u64>,
2727
) -> anyhow::Result<()> {
28-
let tunnel_config = TunnelConfig {
29-
discovery_service: discovery_service,
30-
};
31-
28+
let tunnel_config = TunnelConfig { discovery_service };
3229
let iox_config = iceoryx2::config::Config::default();
3330

3431
let zenoh_config = match zenoh_config {

0 commit comments

Comments
 (0)