mirror of https://github.com/fafhrd91/actix-web
removed a non-needed comment
This commit is contained in:
parent
813b8bb749
commit
6fe1b1e956
|
@ -97,17 +97,6 @@ async fn route_test() -> impl Responder {
|
||||||
HttpResponse::Ok()
|
HttpResponse::Ok()
|
||||||
}
|
}
|
||||||
|
|
||||||
// use actix_web::http::Method;
|
|
||||||
// use std::str::FromStr;
|
|
||||||
// let abc = Method::from_str("ABC").unwrap();
|
|
||||||
// #[route(
|
|
||||||
// "/multi/custom",
|
|
||||||
// method = abc,
|
|
||||||
// )]
|
|
||||||
// async fn route_custom_test() -> impl Responder {
|
|
||||||
// HttpResponse::Ok()
|
|
||||||
// }
|
|
||||||
|
|
||||||
#[routes]
|
#[routes]
|
||||||
#[get("/routes/test")]
|
#[get("/routes/test")]
|
||||||
#[get("/routes/test2")]
|
#[get("/routes/test2")]
|
||||||
|
|
Loading…
Reference in New Issue