Skip to content

Commit

Permalink
Merge branch 'fix-never-type-fallback-warning-des-1041'
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed Jun 14, 2024
2 parents 4c999e3 + 26b2751 commit 9cba0d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions talpid-dbus/src/network_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}

Expand Down
2 changes: 1 addition & 1 deletion talpid-dbus/src/systemd_resolved.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<u8>)>::new(),),
Expand Down

0 comments on commit 9cba0d8

Please sign in to comment.