1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-26 11:31:09 +00:00

Merge branch '1.0' of github.com:actix/actix-web into 1.0

This commit is contained in:
Nikolay Kim 2019-03-16 20:17:48 -07:00
commit 6afcecdb5f

View file

@ -1,9 +1,6 @@
use futures::IntoFuture;
#[macro_use]
extern crate actix_web;
use actix_web::{middleware, web, App, Error, HttpRequest, HttpResponse, HttpServer};
use actix_web::{get, middleware, web, App, Error, HttpRequest, HttpResponse, HttpServer};
#[get("/resource1/{name}/index.html")]
fn index(req: HttpRequest, name: web::Path<String>) -> String {