diff --git a/mullvad-cli/src/cmds/relay.rs b/mullvad-cli/src/cmds/relay.rs index 4fe11b2a8f95..e04cbfd6f25c 100644 --- a/mullvad-cli/src/cmds/relay.rs +++ b/mullvad-cli/src/cmds/relay.rs @@ -395,7 +395,7 @@ impl Relay { Ok(()) } - /// Get active relays which are not bridges. + // Get active relays which are not bridges. async fn update_constraints(update_fn: impl FnOnce(&mut RelayConstraints)) -> Result<()> { let mut rpc = MullvadProxyClient::new().await?; diff --git a/mullvad-daemon/src/macos_launch_daemon.rs b/mullvad-daemon/src/macos_launch_daemon.rs index 3e10d94ce774..945e61828bb7 100644 --- a/mullvad-daemon/src/macos_launch_daemon.rs +++ b/mullvad-daemon/src/macos_launch_daemon.rs @@ -78,9 +78,7 @@ fn daemon_plist_url() -> Object { /// Path to the plist that defines the Mullvad launch daemon. /// It must be kept in sync with the path defined in /// `dist-assets/pkg-scripts/postinstall`. - const DAEMON_PLIST_PATH: &CStr = unsafe { - CStr::from_bytes_with_nul_unchecked(b"/Library/LaunchDaemons/net.mullvad.daemon.plist\0") - }; + const DAEMON_PLIST_PATH: &CStr = c"/Library/LaunchDaemons/net.mullvad.daemon.plist"; let nsstr_inst: Id = unsafe { msg_send![class!(NSString), alloc] }; let nsstr_inst: Id = diff --git a/mullvad-daemon/src/migrations/v7.rs b/mullvad-daemon/src/migrations/v7.rs index 56225aa7b054..47c6bf6275dd 100644 --- a/mullvad-daemon/src/migrations/v7.rs +++ b/mullvad-daemon/src/migrations/v7.rs @@ -66,7 +66,7 @@ pub struct ShadowsocksProxySettings { } // ====================================================== -/// This is a closed migration. +// This is a closed migration. /// We change bridge settings to no longer be an enum with custom and normal variants. It now is a /// struct which contains a bridge type, a normal relay constraint and optional custom constraints.