use :.. instead of :...

This commit is contained in:
Evan Almloff committed 2023-07-18 16:34:27 -07:00
1 parent f2c4233ef4
commit 61e9fd9973
11 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ use dioxus_router::prelude::*;
#[rustfmt::skip]
enum Route {
// segments that start with :... are catch all segments
#[route("/blog/:...segments")]
#[route("/blog/:..segments")]
BlogPost {
// You must include catch all segment in child variants
segments: Vec<String>,