@[email protected] to Programmer [email protected] • 2 years agoI like Python deflemmy.worldimagemessage-square65fedilinkarrow-up1543
arrow-up1543imageI like Python deflemmy.world@[email protected] to Programmer [email protected] • 2 years agomessage-square65fedilink
minus-square@[email protected]linkfedilink16•edit-22 years agopub async fn foo() -> Pin>>>>> oh fuck commonmark cant display the syntax :( well anyone who has done async rust can imagine
minus-square@[email protected]linkfedilink2•edit-22 years agoPin<Box<dyn Future<Output=Result<AsyncResponseThatYouWillHaveToAwaitAgain<ActualResultType>, InscrutableErrorTypeThatDoesntImplementDisplay>> + Send + Sync + 'static + 20MillionMoreAutoTraits>>
How about some
fn
instead?So much better
these puns are getting
func
yChef’s kiss 👌
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