Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to new never type fallback by explicitly stating unit types #6352

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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),
)?;
faern marked this conversation as resolved.
Show resolved Hide resolved
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,
faern marked this conversation as resolved.
Show resolved Hide resolved
(Vec::<(i32, Vec<u8>)>::new(),),
Expand Down
Loading