Recover any missing comments between the param and the type.
Returns true
for mod foo;
, false for mod 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 where
and comment around it.
When the initializer expression is multi-lined, then the else keyword and opening brace of the
block ( i.e. “else {”) should be put on the same line as the end of the initializer expression
if all the following are true: