Skip to content

Commit 50055c7

Browse files
Update src/lib.rs
Co-authored-by: Francesco Guardiani <francescoguard@gmail.com>
1 parent b075cb1 commit 50055c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
//!
6262
//! - Specify that you want to create a service by using the [`#[restate_sdk::service]` macro](restate_sdk_macros::service).
6363
//! - Create a trait with the service handlers.
64-
//! - Handlers can accept zero or one parameter and return a `Result`.
64+
//! - Handlers can accept zero or one parameter and return a [`Result`].
6565
//! - The type of the input parameter of the handler needs to implement [`Serialize`](crate::serde::Deserialize) and [`Deserialize`](crate::serde::Deserialize). See [Serialization docs](crate::serde).
6666
//! - The Result contains the return value or a [`HandlerError`][crate::errors::HandlerError], which can be a [`TerminalError`] or any other Rust's `StdError`.
6767
//! - The service handler can now be called at `<RESTATE_INGRESS_URL>/MyService/myHandler`. You can optionally override the handler name used via `#[name = "myHandler"]`. More details on handler invocations can be found in the [docs](https://docs.restate.dev/invoke/http).

0 commit comments

Comments
 (0)