Skip to content

Commit

Permalink
[#264] Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
elfenpiff committed Dec 16, 2024
1 parent cbe219c commit ce1a959
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions iceoryx2-ffi/ffi/src/api/service_builder_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ pub unsafe extern "C" fn iox2_service_builder_event_open_or_create_with_attribut
service_builder_handle,
port_factory_struct_ptr,
port_factory_handle_ptr,
|service_builder| service_builder.open_or_create_with_attributes(&attribute_verifier),
|service_builder| service_builder.open_or_create_with_attributes(&attribute_verifier),
|service_builder| service_builder.open_or_create_with_attributes(attribute_verifier),
|service_builder| service_builder.open_or_create_with_attributes(attribute_verifier),
)
}

Expand Down Expand Up @@ -402,8 +402,8 @@ pub unsafe extern "C" fn iox2_service_builder_event_open_with_attributes(
service_builder_handle,
port_factory_struct_ptr,
port_factory_handle_ptr,
|service_builder| service_builder.open_with_attributes(&attribute_verifier),
|service_builder| service_builder.open_with_attributes(&attribute_verifier),
|service_builder| service_builder.open_with_attributes(attribute_verifier),
|service_builder| service_builder.open_with_attributes(attribute_verifier),
)
}

Expand Down Expand Up @@ -472,8 +472,8 @@ pub unsafe extern "C" fn iox2_service_builder_event_create_with_attributes(
service_builder_handle,
port_factory_struct_ptr,
port_factory_handle_ptr,
|service_builder| service_builder.create_with_attributes(&attribute_specifier),
|service_builder| service_builder.create_with_attributes(&attribute_specifier),
|service_builder| service_builder.create_with_attributes(attribute_specifier),
|service_builder| service_builder.create_with_attributes(attribute_specifier),
)
}

Expand Down
12 changes: 6 additions & 6 deletions iceoryx2-ffi/ffi/src/api/service_builder_pub_sub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -810,8 +810,8 @@ pub unsafe extern "C" fn iox2_service_builder_pub_sub_open_or_create_with_attrib
service_builder_handle,
port_factory_struct_ptr,
port_factory_handle_ptr,
|service_builder| service_builder.open_or_create_with_attributes(&attribute_verifier),
|service_builder| service_builder.open_or_create_with_attributes(&attribute_verifier),
|service_builder| service_builder.open_or_create_with_attributes(attribute_verifier),
|service_builder| service_builder.open_or_create_with_attributes(attribute_verifier),
)
}

Expand Down Expand Up @@ -880,8 +880,8 @@ pub unsafe extern "C" fn iox2_service_builder_pub_sub_open_with_attributes(
service_builder_handle,
port_factory_struct_ptr,
port_factory_handle_ptr,
|service_builder| service_builder.open_with_attributes(&attribute_verifier),
|service_builder| service_builder.open_with_attributes(&attribute_verifier),
|service_builder| service_builder.open_with_attributes(attribute_verifier),
|service_builder| service_builder.open_with_attributes(attribute_verifier),
)
}

Expand Down Expand Up @@ -950,8 +950,8 @@ pub unsafe extern "C" fn iox2_service_builder_pub_sub_create_with_attributes(
service_builder_handle,
port_factory_struct_ptr,
port_factory_handle_ptr,
|service_builder| service_builder.create_with_attributes(&attribute_specifier),
|service_builder| service_builder.create_with_attributes(&attribute_specifier),
|service_builder| service_builder.create_with_attributes(attribute_specifier),
|service_builder| service_builder.create_with_attributes(attribute_specifier),
)
}

Expand Down

0 comments on commit ce1a959

Please sign in to comment.