this post was submitted on 03 Jul 2023
3 points (100.0% liked)

Rustlang

7 readers
1 users here now

founded 2 years ago
 

Rustfmt will add support for formatting let-else statements starting with the nightly 2023-07-02 toolchain, and then let-else formatting support should come to stable Rust as part of the 1.72 release.

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 2 years ago

In addition to formatting support for let else:

  • A new team now exists, the Style Team
  • The style guide now has editions separate from language editions
  • You can tell rustfmt which edition of the style guide to follow