4 releases (2 breaking)
Uses old Rust 2015
0.4.1 | Jun 8, 2018 |
---|---|
0.4.0 | May 23, 2018 |
0.2.0 | May 3, 2018 |
0.1.0 | Mar 21, 2018 |
#21 in #suggestions
24 downloads per month
33KB
724 lines
cargo fix
Run cargo fix
and get better code.
Installation
Assuming you have a recent Rust toolchain installed and active, run cargo install cargo-fix
.
Usage
- Navigate to a cargo project
- Make sure you use version control and have a clean working directory (so you can easily see the changes rustfix makes later on)
- Make sure your project compiles
- Run
cargo fix
- ??? (wait for it to compile and fix your code)
- PROFIT!
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~2.5–10MB
~100K SLoC