Skip to content

Commit

Permalink
fix: remove redundant closure
Browse files Browse the repository at this point in the history
  • Loading branch information
diogomatsubara committed Dec 11, 2024
1 parent eefa882 commit c76a8aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenoh-plugin-remote-api/src/handle_control_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ pub(crate) async fn handle_control_message(
express,
} => {
let mut querier_builder = state_map.session.declare_querier(key_expr);
let timeout = timeout.map(|millis| Duration::from_millis(millis));
let timeout = timeout.map(Duration::from_millis);

add_if_some!(target, querier_builder);
add_if_some!(timeout, querier_builder);
Expand Down

0 comments on commit c76a8aa

Please sign in to comment.