diff options
author | 2024-07-14 22:51:52 +0200 | |
---|---|---|
committer | 2024-07-14 22:51:52 +0200 | |
commit | fd0abe18d0cfde614cc779fa0da71c4e07107b59 (patch) | |
tree | 12c028c04b3525244815a1d9f41267253557227e /runtime | |
parent | d9a29f51760efc0b2a9d3b0947c15c51897a7a5e (diff) | |
download | iced-fd0abe18d0cfde614cc779fa0da71c4e07107b59.tar.gz iced-fd0abe18d0cfde614cc779fa0da71c4e07107b59.tar.bz2 iced-fd0abe18d0cfde614cc779fa0da71c4e07107b59.zip |
Implement `application::Update` for `()`
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/src/task.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/runtime/src/task.rs b/runtime/src/task.rs index 72f408e0..4d75ddaa 100644 --- a/runtime/src/task.rs +++ b/runtime/src/task.rs @@ -283,10 +283,7 @@ impl<T, E> Task<Result<T, E>> { } } -impl<T> From<()> for Task<T> -where - T: MaybeSend + 'static, -{ +impl<T> From<()> for Task<T> { fn from(_value: ()) -> Self { Self::none() } |