1
0
mirror of https://github.com/actix/examples synced 2025-01-22 22:05:57 +01:00
blackjune 511ab8ce51
Fix bug in state type
Fix bug in state type 
```rust
let counter = Arc::new(Mutex::new(0));
```
may not be usize

Error before this change:
```
App data is not configured, to configure use App::data()
```
2019-05-25 22:22:43 +08:00
..
2019-05-25 22:22:43 +08:00
2019-05-12 11:58:26 -07:00
2018-05-20 18:17:00 -07:00

state

Usage

server

cd examples/state
cargo run
# Started http server: 127.0.0.1:8080

web client