Skip to content

Commit

Permalink
fix(server_fn): active-web link
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Sep 19, 2023
1 parent 4a0fa4c commit febbbd7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server_fn/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:.*}")]
Expand Down Expand Up @@ -246,6 +246,8 @@ pub enum Payload {
/// }
/// }
/// ```
///
/// [`actix-web`]: <https://docs.rs/actix-web/>
#[cfg(any(feature = "ssr", doc))]
pub fn server_fn_by_path<T: 'static, R: ServerFunctionRegistry<T>>(
path: &str,
Expand Down

0 comments on commit febbbd7

Please sign in to comment.