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

#20 in #suggestions

32 downloads per month

Apache-2.0/MIT

33KB
724 lines

cargo fix

Run cargo fix and get better code.

Build Status Build status

Installation

Assuming you have a recent Rust toolchain installed and active, run cargo install cargo-fix.

Usage

  1. Navigate to a cargo project
    1. Make sure you use version control and have a clean working directory (so you can easily see the changes rustfix makes later on)
    2. Make sure your project compiles
  2. Run cargo fix
  3. ??? (wait for it to compile and fix your code)
  4. PROFIT!

License

Licensed under either of

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

~1.7–10MB
~89K SLoC