summaryrefslogtreecommitdiffstats
path: root/native/src/command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/command.rs')
-rw-r--r--native/src/command.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/native/src/command.rs b/native/src/command.rs
index ca9d0b64..39bee8f6 100644
--- a/native/src/command.rs
+++ b/native/src/command.rs
@@ -28,7 +28,9 @@ impl<T> Command<T> {
}
/// Creates a [`Command`] that performs a [`widget::Operation`].
- pub fn widget(operation: impl widget::Operation<T> + 'static) -> Self {
+ pub fn widget(
+ operation: impl iced_core::widget::Operation<T> + 'static,
+ ) -> Self {
Self(iced_futures::Command::single(Action::Widget(
widget::Action::new(operation),
)))