We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e408bf commit e68044fCopy full SHA for e68044f
Configurations.md
@@ -2408,6 +2408,27 @@ pub enum Foo {}
2408
pub enum Foo {}
2409
```
2410
2411
+## `inline_attribute_width`
2412
+
2413
+Write an item and its attribute on the same line if their combined width is below a threshold
2414
2415
+- **Default value**: 0
2416
+- **Possible values**: any positive integer
2417
+- **Stable**: No (tracking issue: #3343)
2418
2419
+### Example
2420
2421
+#### `0` (default):
2422
+```rust
2423
+#[cfg(feature = "alloc")]
2424
+use core::slice;
2425
+```
2426
2427
+#### `50`:
2428
2429
+#[cfg(feature = "alloc")] use core::slice;
2430
2431
2432
## `emit_mode`
2433
2434
Internal option
0 commit comments