You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// You can store any type of value that that implements the `serde::Serialize` and `serde::Deserialize` traits ([see serialization docs][crate::serde]).
/// You can store any type of value that that implements the `serde::Serialize` and `serde::Deserialize` traits ([see serialization docs][crate::serde]).
Copy file name to clipboardExpand all lines: src/http_server.rs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
//! 2. Bind one or multiple services to it.
7
7
//! 3. Listen on the specified port (default `9080`) for connections and requests.
8
8
//!
9
-
//! ```
9
+
//! ```rust,no_run
10
10
//! # #[path = "../examples/services"]
11
11
//! # mod services;
12
12
//! # use services::my_service::{MyService, MyServiceImpl};
@@ -37,7 +37,7 @@
37
37
//! instance. You can find out more about request identity in the [Security docs](https://docs.restate.dev/operate/security#locking-down-service-access).
38
38
//! Add the identity key to your endpoint as follows:
39
39
//!
40
-
//! ```
40
+
//! ```rust,no_run
41
41
//! # #[path = "../examples/services"]
42
42
//! # mod services;
43
43
//! # use services::my_service::{MyService, MyServiceImpl};
0 commit comments