Commit 8f621a9
committed
Fix build failure with minimal-versions
```
error[E0433]: failed to resolve: could not find `Builder` in `async_task`
--> src/lib.rs:219:44
|
219 | let (runnable, task) = async_task::Builder::new().propagate_panic(true).spawn(
| ^^^^^^^ could not find `Builder` in `async_task`
|
help: consider importing one of these structs
|
87 + use crate::thread::Builder;
|
87 + use std::thread::Builder;
|
help: if you import `Builder`, refer to it directly
|
219 - let (runnable, task) = async_task::Builder::new().propagate_panic(true).spawn(
219 + let (runnable, task) = Builder::new().propagate_panic(true).spawn(
|
```1 parent 588b575 commit 8f621a9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments