1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-06-02 21:39:26 +00:00

Update MIGRATION.md (#811)

This commit is contained in:
Max Bo 2019-05-03 02:26:51 +10:00 committed by Nikolay Kim
parent 6b34909537
commit 4f1c6d1bb7

View file

@ -164,7 +164,7 @@
* `HttpRequest::body()`, `HttpRequest::urlencoded()`, `HttpRequest::json()`, `HttpRequest::multipart()`
method have been removed. Use `Bytes`, `String`, `Form`, `Json`, `Multipart` extractors instead.
instead if
instead of
```rust
fn index(req: &HttpRequest) -> Responder {
@ -173,6 +173,7 @@
...
})
}
```
use