1
0
Fork 0
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:
Dominic 2020-11-20 01:30:12 +01:00
parent ce570c4787
commit 24893223b2
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
3 changed files with 2 additions and 6 deletions

View file

@ -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)