hypertown@lemmy.world to Programmer Humor@lemmy.ml · 3 years agoI like Python deflemmy.worldimagemessage-square12linkfedilinkarrow-up113arrow-down10
arrow-up113arrow-down1imageI like Python deflemmy.worldhypertown@lemmy.world to Programmer Humor@lemmy.ml · 3 years agomessage-square12linkfedilink
minus-squareMultipleAnimals@sopuli.xyzlinkfedilinkarrow-up1·edit-23 years agopub async fn foo() -> Pin>>>>> oh fuck commonmark cant display the syntax :( well anyone who has done async rust can imagine
minus-squareAVincentInSpace@pawb.socialBanned from communitylinkfedilinkarrow-up1·3 years agoPin<Box<dyn Future<Output=Result<AsyncResponseThatYouWillHaveToAwaitAgain<ActualResultType>, InscrutableErrorTypeThatDoesntImplementDisplay>> + Send + Sync + 'static + 20MillionMoreAutoTraits>>
How about some
fninstead?pub async fn foo() -> Pin>>>>>oh fuck commonmark cant display the syntax :( well anyone who has done async rust can imagine
Pin<Box<dyn Future<Output=Result<AsyncResponseThatYouWillHaveToAwaitAgain<ActualResultType>, InscrutableErrorTypeThatDoesntImplementDisplay>> + Send + Sync + 'static + 20MillionMoreAutoTraits>>
Exactly, now we are talking