What is Nostr?
Mo :ferris: :tux: @ FOSDEM /
npub1j7f…mapy
2023-08-28 23:57:37

Mo :ferris: :tux: @ FOSDEM on Nostr: Did you know that you can break with a value from a labeled block in #Rust? 'outer is ...

Did you know that you can break with a value from a labeled block in #Rust?

'outer is not a lifetime here, it is a block label.

This in particular is not very useful, but in the second example, you see how it can be useful to break from an outer loop.

#RustLang



Author Public Key
npub1j7fc87rk03whjh72mphc9hrm8zecfsdywdcscsesznwzcrasudvs75mapy