make core compile
This commit is contained in:
1 parent
113b2c1529
commit
32b15fc851
9 files changed
+98
-88
No files matched your search
@@ -264,7 +264,7 @@ impl<T> Throw for Option<T> {
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct ErrorHandler(Rc<dyn Fn(CapturedError) -> Element>);
|
||||
impl<F: Fn(CapturedError) -> Element> From<F> for ErrorHandler {
|
||||
impl<F: Fn(CapturedError) -> Element + 'static> From<F> for ErrorHandler {
|
||||
fn from(value: F) -> Self {
|
||||
Self(Rc::new(value))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user