1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-18 15:41:17 +00:00

add query deprecation info

This commit is contained in:
Nikolay Kim 2018-05-02 06:28:38 -07:00
parent 1aadfee6f7
commit 31e23d4ab1

View file

@ -15,6 +15,12 @@
* `FromRequest::Result` has to implement `Into<Reply<Self>>`
* `HttpRequest::query()` is deprecated. Use `Query` extractor.
```rust
let q = Query::<HashMap<String, String>>::extract(req);
```
## Migration from 0.4 to 0.5