Don't require an explicit return type in the task macro

This commit is contained in:
TechnoPorg committed 2026-01-28 08:52:52 +01:00
1 parent 098b2711d8
commit 1c9034de71
42 files changed
+51 -75

No files matched your search

+1 -2
View File
@@ -2,8 +2,7 @@
//!
//! These tests ensure we hit line 71 in the From<TaskBuilder> implementation
use crate::types::TaskHandle;
use crate::{task, DagRunner, Task};
use crate::{task, DagRunner, TaskHandle};
use futures::FutureExt;
#[tokio::test]
-1
View File
@@ -1,6 +1,5 @@
//! Unit tests for types module
use crate::task::Task;
use crate::types::{NodeId, TaskHandle};
use std::marker::PhantomData;