This commit is contained in:
Andrey Zgarbul 2021-07-20 11:44:03 +03:00
parent 5153ff1715
commit bf80035aef

View file

@ -49,7 +49,9 @@ mod app {
foo::spawn(x).ok().unwrap();
// send another block to the task `bar`
bar::spawn(P::alloc().unwrap().init([0u8; 128])).ok().unwrap();
bar::spawn(P::alloc().unwrap().init([0u8; 128]))
.ok()
.unwrap();
}
#[task]