1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-26 15:07:42 +02:00

Unify route macros (#1705)

This commit is contained in:
Arniu Tseng
2020-09-23 05:42:51 +08:00
committed by GitHub
parent f7bcad9567
commit 162121bf8d
6 changed files with 182 additions and 222 deletions

View File

@ -1,4 +1,4 @@
error: HTTP Method defined more than once: `GET`
error: HTTP method defined more than once: `GET`
--> $DIR/route-duplicate-method-fail.rs:3:35
|
3 | #[route("/", method="GET", method="GET")]