Switch todo!() to unreachable!/unimplemented! where it matters
This commit is contained in:
27 files changed
+73
-180
No files matched your search
@@ -20,7 +20,7 @@ pub enum NavigationTarget<R> {
|
||||
/// # use dioxus_router::navigation::NavigationTarget;
|
||||
/// # #[component]
|
||||
/// # fn Index() -> Element {
|
||||
/// # todo!()
|
||||
/// # unreachable!()
|
||||
/// # }
|
||||
/// #[derive(Clone, Routable, PartialEq, Debug)]
|
||||
/// enum Route {
|
||||
@@ -40,7 +40,7 @@ pub enum NavigationTarget<R> {
|
||||
/// # use dioxus_router::navigation::NavigationTarget;
|
||||
/// # #[component]
|
||||
/// # fn Index() -> Element {
|
||||
/// # todo!()
|
||||
/// # unreachable!()
|
||||
/// # }
|
||||
/// #[derive(Clone, Routable, PartialEq, Debug)]
|
||||
/// enum Route {
|
||||
|
||||
Reference in new issue
Block a user