remove #[doc(hidden)] from EventHandler (#1665)

* remove #[doc(hidden)] from EventHandler

* Make UseFuture Clone, factor out dependencies field

* Revert "Make UseFuture Clone, factor out dependencies field"

This reverts commit 9ca09e595d1cda3f2047750a923a5bdc49a8fa76.

* fix formatting

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
This commit is contained in:
Exotik850andEvan Almloff authored and GitHub committed 2023-11-27 15:45:29 -06:00
1 parent 18fa1e4831
commit 8e4debb226
1 file changed
-2
-2
View File
@@ -107,8 +107,6 @@ impl<T: std::fmt::Debug> std::fmt::Debug for Event<T> {
}
}
#[doc(hidden)]
/// The callback type generated by the `rsx!` macro when an `on` field is specified for components.
///
/// This makes it possible to pass `move |evt| {}` style closures into components as property fields.