Skip to content

Fix rustfmt.toml & format code#173

Open
utkarshgupta137 wants to merge 6 commits intocloudflare:masterfrom
utkarshgupta137:ugupta/fix-rustfmt
Open

Fix rustfmt.toml & format code#173
utkarshgupta137 wants to merge 6 commits intocloudflare:masterfrom
utkarshgupta137:ugupta/fix-rustfmt

Conversation

@utkarshgupta137
Copy link
Contributor

Some of the defined options are nightly only & some have been renamed/replaced:

  • format_doc_comments renamed to format_code_in_doc_comments
  • merge_imports replaced with imports_granularity = "Crate"
  • Removed wrap_comments option as it causes a lot of changes & decreases readability of the comments.
  • Added some more options to format more sections

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant