Chore: move todo!() to unimplemented!() (#2558)

This commit is contained in:
Jonathan Kelley authored and GitHub committed 2024-06-27 16:27:27 -05:00
1 parent 8bba6d6672
commit 47ab4c8db9
10 files changed
+32 -32

No files matched your search

+2 -2
View File
@@ -454,7 +454,7 @@ impl VNode {
/// # use dioxus::prelude::*;
/// # let enabled = true;
/// # #[component]
/// # fn Component(enabled_sign: String) -> Element { todo!() }
/// # fn Component(enabled_sign: String) -> Element { unimplemented!() }
/// if enabled {
/// rsx!{ Component { enabled_sign: "abc" } }
/// } else {
@@ -468,7 +468,7 @@ impl VNode {
/// ```rust, no_run
/// # use dioxus::prelude::*;
/// # #[component]
/// # fn Component(enabled_sign: String) -> Element { todo!() }
/// # fn Component(enabled_sign: String) -> Element { unimplemented!() }
/// # let enabled = true;
/// let props = if enabled {
/// ComponentProps { enabled_sign: "abc".to_string() }
+1 -1
View File
@@ -455,7 +455,7 @@ impl<
///
/// ```rust
/// # use dioxus::prelude::*;
/// # fn ThrowsError() -> Element { todo!() }
/// # fn ThrowsError() -> Element { unimplemented!() }
/// rsx! {
/// ErrorBoundary {
/// handle_error: |error| rsx! { "Oops, we encountered an error. Please report {error} to the developer of this application" },
+2 -2
View File
@@ -151,10 +151,10 @@ use tracing::instrument;
/// # Self {}
/// # }
/// # fn apply(&mut self) -> Mutations {
/// # todo!()
/// # unimplemented!()
/// # }
/// # async fn wait_for_event(&mut self) -> std::rc::Rc<dyn std::any::Any> {
/// # todo!()
/// # unimplemented!()
/// # }
/// # }
/// #