summaryrefslogtreecommitdiffhomepage
path: root/talpid-core/src
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2021-12-09 13:58:03 +0100
committerDavid Lönnhager <david.l@mullvad.net>2021-12-14 09:45:23 +0100
commit3b92b6ae9230719eca8ef8fef511b71152896efd (patch)
tree87af8e61e7b84bf61fe7cca1cd59f5a6cbd34de5 /talpid-core/src
parente47011f2226c6b5976a6937caa9f86ded992e764 (diff)
downloadmullvadvpn-3b92b6ae9230719eca8ef8fef511b71152896efd.tar.xz
mullvadvpn-3b92b6ae9230719eca8ef8fef511b71152896efd.zip
Fix some cargo doc warnings
Diffstat (limited to 'talpid-core/src')
-rw-r--r--talpid-core/src/routing/unix.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/talpid-core/src/routing/unix.rs b/talpid-core/src/routing/unix.rs
index aa1cf66f6b..8ec1de888b 100644
--- a/talpid-core/src/routing/unix.rs
+++ b/talpid-core/src/routing/unix.rs
@@ -86,7 +86,7 @@ impl RouteManagerHandle {
.map_err(Error::PlatformError)
}
- /// Remove any routing rules created by [`create_routing_rules`].
+ /// Remove any routing rules created by [Self::create_routing_rules].
#[cfg(target_os = "linux")]
pub async fn clear_routing_rules(&self) -> Result<(), Error> {
let (response_tx, response_rx) = oneshot::channel();
@@ -242,7 +242,7 @@ impl RouteManager {
self.handle()?.create_routing_rules(enable_ipv6).await
}
- /// Remove any routing rules created by [`create_routing_rules`].
+ /// Remove any routing rules created by [Self::create_routing_rules].
#[cfg(target_os = "linux")]
pub async fn clear_routing_rules(&mut self) -> Result<(), Error> {
self.handle()?.clear_routing_rules().await