mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-04-20 06:54:46 +00:00
remove unused code and fix lint warning
This commit is contained in:
parent
ce570c4787
commit
24893223b2
3 changed files with 2 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
error: async fn must not take &State as an argument as State is not Sync, consider boxing
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue