mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-02-23 13:02:28 +00:00
5 lines
208 B
Text
5 lines
208 B
Text
error: async fn must not take &State as an argument as State is not Sync, consider taking &mut State
|
|
--> $DIR/method_async_state.rs:9:19
|
|
|
|
|
9 | async fn read_all(state : &State)
|
|
| ^^^^^
|