The ???? operator
The ???? operator
![the background blur](https://programming.dev/pictrs/image/d413029a-44b9-495e-a4f6-6c25040a4435.png?thumbnail=256&format=webp)
![](https://programming.dev/pictrs/image/d413029a-44b9-495e-a4f6-6c25040a4435.png?thumbnail=1024&format=webp)
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.
All comments
21
comments
there was a comment about adding an
?!
operator that would resolve any number of?
operators but I can't find it.7 0 Reply‽
13 0 ReplyInterrobang gang rise up!
3 0 Reply
I can't remember ever needing more than two question marks (
??
), and even that is very rare in my experience.2 0 Reply
21
comments
Scroll to top