diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-04-07 08:23:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-07 08:23:35 +0200 |
| commit | 1b8dbda9c78afed13df96d546e45b37f8bc08314 (patch) | |
| tree | b18ef7727a9ea513a941a0ae09b007b54bb1910a /compiler/rustc_pattern_analysis/src | |
| parent | 501235451c378917d24a9b6fb1558d3363f16312 (diff) | |
| parent | ee07e3f83f5c2e87c1ce19f2472bc7c622ecebcf (diff) | |
| download | rust-1b8dbda9c78afed13df96d546e45b37f8bc08314.tar.gz rust-1b8dbda9c78afed13df96d546e45b37f8bc08314.zip | |
Rollup merge of #139456 - calebcartwright:style-let-chains-final, r=joshtriplett
style guide: add let-chain rules Reopens #110568 refs #53667 and I suppose #132833 as well This reflects the style rules that the style team had already agreed upon back in 2023, with the addition of literals in the lhs being permissible for single line formatting, and the removal of unnecessary language/example snippets around non-`&&` operators that was a small hiccup in the original PR. It also reflects current formatting behavior implemented in rustfmt (though note that the adjustment to include literals has been implemented & merged, but is still pending a sync to nightly)
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
