From 86126f8d9dc5170e9e0d790ea9cfedc4a348a965 Mon Sep 17 00:00:00 2001 From: Jannes Brands Date: Sat, 4 Nov 2023 22:12:21 +0100 Subject: [PATCH] other clippy suggestions --- src/network_management/network_manager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network_management/network_manager.rs b/src/network_management/network_manager.rs index 8976d0a..3bc00b9 100644 --- a/src/network_management/network_manager.rs +++ b/src/network_management/network_manager.rs @@ -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(