hypertown@lemmy.world to Programmer Humor@lemmy.ml · 1 year agoI like Python deflemmy.worldimagemessage-square65fedilinkarrow-up1554arrow-down143
arrow-up1511arrow-down1imageI like Python deflemmy.worldhypertown@lemmy.world to Programmer Humor@lemmy.ml · 1 year agomessage-square65fedilink
minus-squareMultipleAnimals@sopuli.xyzlinkfedilinkarrow-up16·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-squareAVincentInSpacelinkfedilinkarrow-up2·edit-21 year agoPin<Box<dyn Future<Output=Result<AsyncResponseThatYouWillHaveToAwaitAgain<ActualResultType>, InscrutableErrorTypeThatDoesntImplementDisplay>> + Send + Sync + 'static + 20MillionMoreAutoTraits>>
minus-squareXylight (Photon dev)@lemmy.xylight.devlinkfedilinkEnglisharrow-up12·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