use :.. instead of :...
This commit is contained in:
1 parent
f2c4233ef4
commit
61e9fd9973
11 files changed
+15
-15
No files matched your search
@@ -8,7 +8,7 @@ enum Route {
|
||||
#[route("/")]
|
||||
Home {},
|
||||
// PageNotFound is a catch all route that will match any route and placing the matched segments in the route field
|
||||
#[route("/:...route")]
|
||||
#[route("/:..route")]
|
||||
PageNotFound { route: Vec<String> },
|
||||
}
|
||||
// ANCHOR_END: router
|
||||
|
||||
Reference in new issue
Block a user