mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
parent
3403be5e2e
commit
dcb11118d2
@ -11,7 +11,7 @@ use std::task::{Context, Poll, RawWaker, RawWakerVTable, Waker};
|
|||||||
|
|
||||||
use tokio::stream::Stream;
|
use tokio::stream::Stream;
|
||||||
|
|
||||||
/// TOOD: dox
|
/// TODO: dox
|
||||||
pub fn spawn<T>(task: T) -> Spawn<T> {
|
pub fn spawn<T>(task: T) -> Spawn<T> {
|
||||||
Spawn {
|
Spawn {
|
||||||
task: MockTask::new(),
|
task: MockTask::new(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user