mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 12:44:40 +00:00
Remove chain_indent
This commit is contained in:
parent
9ac1e6d978
commit
e18401ca01
@ -395,39 +395,6 @@ let range = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa..
|
||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbb;
|
||||
```
|
||||
|
||||
## `chain_indent`
|
||||
|
||||
Indentation of chain
|
||||
|
||||
- **Default value**: `"Block"`
|
||||
- **Possible values**: `"Block"`, `"Visual"`
|
||||
- **Stable**: ?
|
||||
|
||||
#### `"Block"` (default):
|
||||
|
||||
```rust
|
||||
let lorem = ipsum
|
||||
.dolor()
|
||||
.sit()
|
||||
.amet()
|
||||
.consectetur()
|
||||
.adipiscing()
|
||||
.elit();
|
||||
```
|
||||
|
||||
#### `"Visual"`:
|
||||
|
||||
```rust
|
||||
let lorem = ipsum.dolor()
|
||||
.sit()
|
||||
.amet()
|
||||
.consectetur()
|
||||
.adipiscing()
|
||||
.elit();
|
||||
```
|
||||
|
||||
|
||||
|
||||
## `combine_control_expr`
|
||||
|
||||
Combine control expressions with function calls.
|
||||
|
Loading…
Reference in New Issue
Block a user