Skip to content

Commit

Permalink
Fix clippy lint (from rust 1.81 I think)
Browse files Browse the repository at this point in the history
  • Loading branch information
strohel committed Sep 13, 2024
1 parent 70e3636 commit dc8ac78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wireguard-control/src/backends/userspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ fn start_userspace_wireguard(iface: &InterfaceName) -> io::Result<Output> {
command.args(&[iface.to_string()]).output()?
} else {
command
.env("WG_TUN_NAME_FILE", &format!("{VAR_RUN_PATH}/{iface}.name"))
.env("WG_TUN_NAME_FILE", format!("{VAR_RUN_PATH}/{iface}.name"))
.args(["utun"])
.output()?
};
Expand Down

0 comments on commit dc8ac78

Please sign in to comment.