Switch todo!() to unreachable!/unimplemented! where it matters

This commit is contained in:
Jonathan Kelley committed 2024-01-31 16:26:20 -08:00
1 parent a14789eebc
commit 8f07d881a6
27 files changed
+73 -180

No files matched your search

+2 -2
View File
@@ -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 {