Skip to content

Commit 90a013c

Browse files
committed
Feedback
1 parent c647408 commit 90a013c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
//!
131131
//! - Specify that you want to create a Virtual Object by using the [`#[restate_sdk::object]` macro](restate_sdk_macros::object).
132132
//! - The first argument of each handler must be the [`ObjectContext`](crate::context::ObjectContext) parameter. Handlers with the `ObjectContext` parameter can write to the K/V state store. Only one handler can be active at a time per object, to ensure consistency.
133-
//! - You can retrieve the key of the object you are in via [`ObjectContext.key`].
133+
//! - You can retrieve the key of the object you are in via [`ObjectContext.key`].
134134
//! - If you want to have a handler that executes concurrently to the others and doesn't have write access to the K/V state, add `#[shared]` to the handler definition in the trait.
135135
//! Shared handlers need to use the [`SharedObjectContext`](crate::context::SharedObjectContext).
136136
//! You can use these handlers, for example, to read K/V state and expose it to the outside world, or to interact with the blocking handler and resolve awakeables etc.
@@ -201,7 +201,7 @@
201201
//! async fn main() {
202202
//! //! To enable logging
203203
//! tracing_subscriber::fmt::init();
204-
//!
204+
//!
205205
//! // Start http server etc...
206206
//! }
207207
//! ```

0 commit comments

Comments
 (0)