From febbbd7be44d3476b8e61e5b5b921c36543e0c23 Mon Sep 17 00:00:00 2001 From: Fangdun Tsai Date: Tue, 19 Sep 2023 09:39:41 +0800 Subject: [PATCH] fix(server_fn): active-web link --- server_fn/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server_fn/src/lib.rs b/server_fn/src/lib.rs index 8891fed725..1d9a3a0e09 100644 --- a/server_fn/src/lib.rs +++ b/server_fn/src/lib.rs @@ -205,7 +205,7 @@ pub enum Payload { /// Attempts to find a server function registered at the given path. /// -/// This can be used by a server to handle the requests, as in the following example (using `actix-web`) +/// This can be used by a server to handle the requests, as in the following example (using [`actix-web`]) /// /// ```rust, ignore /// #[post("{tail:.*}")] @@ -246,6 +246,8 @@ pub enum Payload { /// } /// } /// ``` +/// +/// [`actix-web`]: #[cfg(any(feature = "ssr", doc))] pub fn server_fn_by_path>( path: &str,