Implement application::Update for ()

This commit is contained in:
Héctor Ramón Jiménez 2024-07-14 22:51:52 +02:00
parent d9a29f5176
commit fd0abe18d0
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 11 additions and 6 deletions

View file

@ -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()
}