diff options
| author | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2023-07-11 21:00:28 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-11 21:00:28 -0700 |
| commit | 3518041a849ac52a78b32af6703227d7953d8347 (patch) | |
| tree | 10db7a95b8775900964ee4db33461eb3be58edd2 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | dff07259d0af34a4b24ba2dcb6c0f7381a602532 (diff) | |
| parent | 24534cffe60044965d3cd11d49e9b568c3dfa865 (diff) | |
| download | rust-3518041a849ac52a78b32af6703227d7953d8347.tar.gz rust-3518041a849ac52a78b32af6703227d7953d8347.zip | |
Rollup merge of #113385 - joshtriplett:style-guide-cleanup-chains, r=calebcartwright
style-guide: Fix chain example to match rustfmt behavior
The style guide gave an example of breaking a multi-line chain element
and all subsequent elements to a new line, but that same example and the
accompanying text also had several chain items stacked on the first
line. rustfmt doesn't do this, except when the rule saying to combine
```
shrt
.y()
```
into
```
shrt.y()
```
applies.
This is a bugfix to match rustfmt behavior, so it's not a breaking change, and
it just needs a ``@rust-lang/style`` reviewer to r+.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
