mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-27 17:52:56 +01:00
fixes missing import in example (#1210)
This commit is contained in:
parent
1b8d747937
commit
4a1695f719
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user