diff options
author | 2024-06-14 01:52:30 +0200 | |
---|---|---|
committer | 2024-06-14 01:52:30 +0200 | |
commit | b328da2c71e998e539bdc65815061e88dd1e7081 (patch) | |
tree | 0dbd05ccffd9a771e46e653ec4c364bf1e65cc8c /core | |
parent | a25b1af45690bdd8e1cbb20ee3a5b1c4342de455 (diff) | |
download | iced-b328da2c71e998e539bdc65815061e88dd1e7081.tar.gz iced-b328da2c71e998e539bdc65815061e88dd1e7081.tar.bz2 iced-b328da2c71e998e539bdc65815061e88dd1e7081.zip |
Fix `Send` requirements for Wasm targets
Diffstat (limited to 'core')
-rw-r--r-- | core/src/widget/operation.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/widget/operation.rs b/core/src/widget/operation.rs index 1fa924a4..3e4ed618 100644 --- a/core/src/widget/operation.rs +++ b/core/src/widget/operation.rs @@ -8,7 +8,7 @@ pub use scrollable::Scrollable; pub use text_input::TextInput; use crate::widget::Id; -use crate::{MaybeSend, Rectangle, Vector}; +use crate::{Rectangle, Vector}; use std::any::Any; use std::fmt; @@ -16,7 +16,7 @@ use std::sync::Arc; /// A piece of logic that can traverse the widget tree of an application in /// order to query or update some widget state. -pub trait Operation<T>: MaybeSend { +pub trait Operation<T>: Send { /// Operates on a widget that contains other widgets. /// /// The `operate_on_children` function can be called to return control to |