diff --git a/talpid-dbus/src/network_manager.rs b/talpid-dbus/src/network_manager.rs index b2787bf4a228..7b6622cb1ddc 100644 --- a/talpid-dbus/src/network_manager.rs +++ b/talpid-dbus/src/network_manager.rs @@ -574,8 +574,11 @@ impl NetworkManager { settings: Settings, version_id: u64, ) -> Result<()> { - self.as_path(device) - .method_call(NM_DEVICE, "Reapply", (settings, version_id, 0u32))?; + self.as_path(device).method_call::<(), _, _, _>( + NM_DEVICE, + "Reapply", + (settings, version_id, 0u32), + )?; Ok(()) } diff --git a/talpid-dbus/src/systemd_resolved.rs b/talpid-dbus/src/systemd_resolved.rs index d9ec4a5d2415..31e24008df6f 100644 --- a/talpid-dbus/src/systemd_resolved.rs +++ b/talpid-dbus/src/systemd_resolved.rs @@ -322,7 +322,7 @@ impl SystemdResolved { // replaced in systemd-resolved. // v248.3 link_object - .method_call( + .method_call::<(), _, _, _>( LINK_INTERFACE, SET_DNS_METHOD, (Vec::<(i32, Vec)>::new(),),