Add missing derives to `yew_router`'s README
@@ -4,7 +4,7 @@ A routing library for the [Yew](https://github.com/yewstack/yew) frontend framew
### Example
```rust
-#[derive(Switch, Debug)]
+#[derive(Switch, Debug, Clone)]
pub enum AppRoute {
#[to = "/profile/{id}"]
Profile(u32),
@@ -14,7 +14,7 @@ pub enum AppRoute {
Index,
}
-#[derive(Switch, Debug)]
+#[derive(Switch, Debug, Clone)]
pub enum ForumRoute {
#[to = "/{subforum}/{thread_slug}"]
SubForumAndThread{subforum: String, thread_slug: String}
