From 920fc41b2feeed17beb5367207019bf5980d4856 Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval Date: Wed, 7 Aug 2024 09:43:55 +0200 Subject: [PATCH] server: docs: fix unresolved link to systemd_notify Fixes the cargo docs warning: warning: unresolved link to `systemd_notify` --> proxmox-daemon/src/server.rs:314:6 | 314 | /// [systemd_notify] with [SystemdNotify::Ready](proxmox_systemd::notify::SystemdNotify) when the | ^^^^^^^^^^^^^^ no item named `systemd_notify` in scope | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default Signed-off-by: Maximiliano Sandoval Reviewed-by: Lukas Wagner --- proxmox-daemon/src/server.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proxmox-daemon/src/server.rs b/proxmox-daemon/src/server.rs index e86d5e51..efea9078 100644 --- a/proxmox-daemon/src/server.rs +++ b/proxmox-daemon/src/server.rs @@ -311,7 +311,8 @@ impl Listenable for tokio::net::UnixListener { /// If the variable already exists, its contents will instead be used to restore the listening /// socket. The finished listening socket is then passed to the `create_service` function which /// can be used to setup the TLS and the HTTP daemon. The returned future has to call -/// [systemd_notify] with [SystemdNotify::Ready](proxmox_systemd::notify::SystemdNotify) when the +/// [SystemdNotify::notify](proxmox_systemd::notify::SystemdNotify::notify) with +/// [SystemdNotify::Ready](proxmox_systemd::notify::SystemdNotify) when the /// service is ready. pub async fn create_daemon( address: L::Address,