document the type name as optional in the server function docs (#1748)

This commit is contained in:
ealmloff authored and GitHub committed 2024-01-04 09:06:38 -06:00
1 parent 422df68fea
commit c56d3662e9
1 file changed
+1 -1
+1 -1
View File
@@ -19,7 +19,7 @@ use syn::{
/// are enabled), it will instead make a network request to the server.
///
/// You can specify one, two, or three arguments to the server function:
/// 1. **Required**: A type name that will be used to identify and register the server function
/// 1. *Optional*: A type name that will be used to identify and register the server function
/// (e.g., `MyServerFn`).
/// 2. *Optional*: A URL prefix at which the function will be mounted when it’s registered
/// (e.g., `"/api"`). Defaults to `"/"`.