The ???? operator
The ???? operator
I found this funny.
The context is as explained by @laund@hachyderm.io
the issue is that you can't return from inside a closure, since the closure might be called later/elsewhere
and this post was the asnwer to the question by @antonok@fosstodon.org
you got me curious what the record for the longest
?
operator chain on crates.io is
Original post: https://fosstodon.org/users/antonok/statuses/111134824451525448
You're viewing a single thread.
I never though about chaining
?
! This is hilarious and I need to use it somewhere now.16 0 Replyyeah i didnt realize you could do that either lmao.
2 0 ReplyIt make total sense, I just never ran into a
Result(Result(Result(T, E), E), E)
situationEdit: Lemmy is so scared of cross site scripting, they simply remove all less than and greater than signs, lmao
3 0 ReplyAnd it replaces ampersands.
1 0 Reply