Skip to content

Commit

Permalink
add a section to Configuration.md
Browse files Browse the repository at this point in the history
- attributes => attribute
  • Loading branch information
rchaser53 committed Feb 23, 2019
1 parent 0e408bf commit e68044f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2408,6 +2408,27 @@ pub enum Foo {}
pub enum Foo {}
```

## `inline_attribute_width`

Write an item and its attribute on the same line if their combined width is below a threshold

- **Default value**: 0
- **Possible values**: any positive integer
- **Stable**: No (tracking issue: #3343)

### Example

#### `0` (default):
```rust
#[cfg(feature = "alloc")]
use core::slice;
```

#### `50`:
```rust
#[cfg(feature = "alloc")] use core::slice;
```

## `emit_mode`

Internal option
Expand Down

0 comments on commit e68044f

Please sign in to comment.