rustfmt
https://github.com/rust-lang-nursery/rustfmt
Rust
Format Rust code
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Rust not yet supported22 Subscribers
Add a CodeTriage badge to rustfmt
Help out
- Issues
- Filter out block comment in filter_normal_code if configured to use rustfmt 2 (#4668)
- Formatter takes two runs to fully format comment after match arm
- Add option to preserve/format-with nesting inside function call arguments
- Enable configuration to selectively wrap some comments and leave others unwrapped
- rustfmt formats non-rust code in doc comments
- rustfmt is not idempotent over some blocks that consist of a series of empty statements finished by an expression
- Imports are not formatted when long import lines are present
- Not moving the first line comment of blocks
- Correct newline style in json emitter
- Sort mod, use, pub use, const, static, type, and extern crate items at the top of files
- Docs
- Rust not yet supported