Skip to content

Add a .rustfmt.toml #135

Description

@V0ldek

Is your feature request related to a problem? Please describe.
rustfmt doesn't behave as I'd like it when it comes to use statements, failing to reorder and appropriately merge them.

Describe the solution you'd like
We should have a custom .rustfmt.toml file that includes these configs:

  • imports_granularity
  • reorder_impl_items
  • reorder_imports
  • group_imports
  • reorder_modules
  • use_field_init_shorthand

Additional context
Configuration docs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions