summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2017-05-22 12:38:24 +0200
committerLinus Färnstrand <linus@mullvad.net>2017-05-23 09:26:32 +0200
commit46235ea508f1b251c185a1a4658feceeb2a54007 (patch)
tree5305115be008b8ae298bfce0abb64d83eee4c6b9
parent649a0d5bae81ac6b1b1385fd9ad013f4c3134515 (diff)
downloadmullvadvpn-46235ea508f1b251c185a1a4658feceeb2a54007.tar.xz
mullvadvpn-46235ea508f1b251c185a1a4658feceeb2a54007.zip
Apply Clippy fixes in mullvad_daemon
-rw-r--r--mullvad_daemon/src/mock_ipc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mullvad_daemon/src/mock_ipc.rs b/mullvad_daemon/src/mock_ipc.rs
index dd76f8f8c0..90859401c2 100644
--- a/mullvad_daemon/src/mock_ipc.rs
+++ b/mullvad_daemon/src/mock_ipc.rs
@@ -31,7 +31,7 @@ impl IpcServer {
}
pub fn address(&self) -> &str {
- &self.server.address()
+ self.server.address()
}
pub fn wait(self) -> talpid_ipc::Result<()> {
@@ -81,7 +81,7 @@ fn meta_extractor(context: &jsonrpc_ws_server::RequestContext) -> Meta {
/// A mock implementation of the Mullvad frontend API. A very simplified explanation is that for
/// the real implementation `tunnel_is_up` should be replaced with some kind of handle (or proxy to
-/// a handle) to the jsonrpc client talking with talpid_core.
+/// a handle) to the jsonrpc client talking with `talpid_core`.
pub struct MockIpcApi {
next_subscription_id: atomic::AtomicUsize,
active: ActiveSubscriptions,