Module rustfmt_nightly::items
source · Structs
Enums
- BracePos 🔒
- Kind of spaces to put before
where.
Constants
Functions
- Recover any missing comments between the param and the type.
- Returns
trueformod foo;, false formod foo { .. }. - Rewrite the attributes of an item.
- Rewrite bounds on a where clause.
- Rewrite
extern crate foo;. The given shape is used to format the extern crate’s attributes. - Rewrite an inline mod. The given shape is used to format the mod’s attributes.
- Rewrite
whereand comment around it.