diff options
| author | Yacin Tmimi <yacintmimi@gmail.com> | 2023-04-09 02:13:11 -0400 |
|---|---|---|
| committer | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2023-07-01 01:06:35 -0500 |
| commit | fe8b72d98e58e05420be9c1227ebdbe7a742dcf9 (patch) | |
| tree | 57f46ad73182dd158ce77250c1a3128bb0c8f252 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 9386b32f5a72bb276a97461d33aab415314201d8 (diff) | |
| download | rust-fe8b72d98e58e05420be9c1227ebdbe7a742dcf9.tar.gz rust-fe8b72d98e58e05420be9c1227ebdbe7a742dcf9.zip | |
implement single_line_let_else_max_width
This allows users to configure the maximum length of a single line `let-else` statements. `let-else` statements that otherwise meet the requirements to be formatted on a single line will have their divergent `else` block formatted over multiple lines if they exceed this length. **Note**: `single_line_let_else_max_widt` will be introduced as a stable configuration option.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
