Skip to content

Commit

Permalink
add TODO to docs so we hopefully do not forget to update this
Browse files Browse the repository at this point in the history
  • Loading branch information
GlenDC committed Oct 13, 2024
1 parent 13ef3b4 commit 779b7f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/book/src/intro/context.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ you keep things separate and clean.

One solution is to wrap your state.

TODO: update documentation related to state wrapping,
as now the way to do this is different.

> See for reference: [/examples/http_conn_state.rs](https://github.com/plabayo/rama/tree/main/examples/http_conn_state.rs)
The above example shows how can use the `#as_ref(wrap)` property within an `#[derive(AsRef)]` derived "state" struct,
Expand Down

0 comments on commit 779b7f4

Please sign in to comment.