Skip to content

Commit

Permalink
other clippy suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannes Brands committed Nov 4, 2023
1 parent 37dde31 commit 86126f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network_management/network_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ impl NetworkManager {
self.get_control_function_address_by_name(destination.get_name()),
priority,
)
.unwrap_or(CanId::default());
.unwrap_or_default();

if message_id.raw() != CanId::default().raw() {
self.enqueue_can_message(
Expand Down

0 comments on commit 86126f8

Please sign in to comment.