fixes missing import in example

This commit is contained in:
Jonathan Speiser 2019-12-11 19:50:47 -05:00 committed by GitHub
parent 131c897099
commit b7e67996b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ Actix web is a simple, pragmatic and extremely fast web framework for Rust.
## Example
```rust
use actix_web::{get, App, HttpServer, Responder};
use actix_web::{get, web, App, HttpServer, Responder};
#[get("/{id}/{name}/index.html")]
async fn index(info: web::Path<(u32, String)>) -> impl Responder {