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 3e20502 commit bb16523Copy full SHA for bb16523
Configurations.md
@@ -2408,6 +2408,23 @@ pub enum Foo {}
2408
pub enum Foo {}
2409
```
2410
2411
+## `inline_attribute_width` (tracking issue #3343):
2412
+
2413
+Write an item and its attributes on the same line if their combined width is below a threshold
2414
2415
+### Example
2416
2417
+#### `0` (default):
2418
+```rust
2419
+#[cfg(feature = "alloc")]
2420
+use core::slice;
2421
+```
2422
2423
+#### `50`:
2424
2425
+#[cfg(feature = "alloc")] use core::slice;
2426
2427
2428
## `emit_mode`
2429
2430
Internal option
0 commit comments