mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
Fix Configurations.md
Correct default for `imports_indent` Closes #2839
This commit is contained in:
+9
-9
@@ -1019,18 +1019,11 @@ See also: [`tab_spaces`](#tab_spaces).
|
||||
|
||||
Indent style of imports
|
||||
|
||||
- **Default Value**: `"Visual"`
|
||||
- **Default Value**: `"Block"`
|
||||
- **Possible values**: `"Block"`, `"Visual"`
|
||||
- **Stable**: No
|
||||
|
||||
#### `"Visual"` (default):
|
||||
|
||||
```rust
|
||||
use foo::{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy,
|
||||
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz};
|
||||
```
|
||||
|
||||
#### `"Block"`:
|
||||
#### `"Block"` (default):
|
||||
|
||||
```rust
|
||||
use foo::{
|
||||
@@ -1039,6 +1032,13 @@ use foo::{
|
||||
};
|
||||
```
|
||||
|
||||
#### `"Visual"`:
|
||||
|
||||
```rust
|
||||
use foo::{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy,
|
||||
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz};
|
||||
```
|
||||
|
||||
See also: [`imports_layout`](#imports_layout).
|
||||
|
||||
## `imports_layout`
|
||||
|
||||
Reference in New Issue
Block a user