From 4f1c6d1bb7a805b869cd9d14ffa4a353ecd42132 Mon Sep 17 00:00:00 2001 From: Max Bo Date: Fri, 3 May 2019 02:26:51 +1000 Subject: [PATCH] Update MIGRATION.md (#811) --- MIGRATION.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MIGRATION.md b/MIGRATION.md index 9d433ed06..c7932b60c 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -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