hypertown@lemmy.world to Programmer Humor@lemmy.ml · 1 year agoI like Python deflemmy.worldimagemessage-square52fedilinkarrow-up1439arrow-down129
arrow-up1410arrow-down1imageI like Python deflemmy.worldhypertown@lemmy.world to Programmer Humor@lemmy.ml · 1 year agomessage-square52fedilink
minus-squareMultipleAnimals@sopuli.xyzlinkfedilinkarrow-up11·edit-21 year agopub async fn foo() -> Pin>>>>> oh fuck commonmark cant display the syntax :( well anyone who has done async rust can imagine
minus-squareAVincentInSpace@pawb.sociallinkfedilinkarrow-up1·edit-21 year agoPin<Box<dyn Future<Output=Result<AsyncResponseThatYouWillHaveToAwaitAgain<ActualResultType>, InscrutableErrorTypeThatDoesntImplementDisplay>> + Send + Sync + 'static + 20MillionMoreAutoTraits>>
minus-squareXylight (Photon dev)@lemmy.xylight.devlinkfedilinkEnglisharrow-up7·1 year agothese puns are getting funcy
How about some
fn
instead?pub async fn foo() -> Pin>>>>>
oh fuck commonmark cant display the syntax :( well anyone who has done async rust can imagine
p a f fn(){}
Pin<Box<dyn Future<Output=Result<AsyncResponseThatYouWillHaveToAwaitAgain<ActualResultType>, InscrutableErrorTypeThatDoesntImplementDisplay>> + Send + Sync + 'static + 20MillionMoreAutoTraits>>
Exactly, now we are talking
these puns are getting
func
yChef’s kiss 👌
So much better