diff options
| -rw-r--r-- | mullvad-daemon/src/main.rs | 3 | ||||
| -rw-r--r-- | talpid-core/src/process/openvpn.rs | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/mullvad-daemon/src/main.rs b/mullvad-daemon/src/main.rs index ed39e2c147..f252d762d3 100644 --- a/mullvad-daemon/src/main.rs +++ b/mullvad-daemon/src/main.rs @@ -458,8 +458,7 @@ impl Daemon { } /// Set the target state of the client. If it changed trigger the operations needed to - /// progress - /// towards that state. + /// progress towards that state. fn set_target_state(&mut self, new_state: TargetState) -> Result<()> { if new_state != self.target_state { debug!("Target state {:?} => {:?}", self.target_state, new_state); diff --git a/talpid-core/src/process/openvpn.rs b/talpid-core/src/process/openvpn.rs index ce6039bcb3..046d70b569 100644 --- a/talpid-core/src/process/openvpn.rs +++ b/talpid-core/src/process/openvpn.rs @@ -65,8 +65,7 @@ impl OpenVpnCommand { } /// Sets the path to the file where the username and password for user-pass authentication - /// is - /// stored. See the `--auth-user-pass` OpenVPN documentation for details. + /// is stored. See the `--auth-user-pass` OpenVPN documentation for details. pub fn user_pass<P: AsRef<Path>>(&mut self, path: P) -> &mut Self { self.user_pass_path = Some(path.as_ref().to_path_buf()); self @@ -162,8 +161,7 @@ impl OpenVpnCommand { impl fmt::Display for OpenVpnCommand { /// Format the program and arguments of an `OpenVpnCommand` for display. Any non-utf8 data - /// is - /// lossily converted using the utf8 replacement character. + /// is lossily converted using the utf8 replacement character. fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { fmt.write_str(&self.openvpn_bin.to_string_lossy())?; for arg in self.get_arguments().iter().map(|arg| arg.to_string_lossy()) { |
