this post was submitted on 26 Jan 2023
8 points (100.0% liked)

Rust Programming

8431 readers
21 users here now

founded 5 years ago
MODERATORS
 

Did you know you can just whip out curly-braces all over the place in Rust and Go?

But why on Earth would you even want to do this?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 2 years ago

Very useful for .borrow()ing things