A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/rust-lang/rustfix below:

rust-lang/rustfix: Automatically apply the suggestions made by rustc

The rustfix crate has moved to https://github.com/rust-lang/cargo/tree/master/crates/rustfix. Any issues about the rustfix library or cargo fix should be filed at https://github.com/rust-lang/cargo/issues. Any issues about the suggestions generated by the compiler should be filed at https://github.com/rust-lang/rust/issues.

Rustfix is a library defining useful structures that represent fix suggestions from rustc.

Currently, rustfix is split into two crates:

The library (and therefore this repo) is considered largely feature-complete. This is because:

cargo fix is a built-in command in Cargo since Rust 1.29. There is no need to install it separately from crates.io.

To use the rustfix library for use in your own fix project, add it to your Cargo.toml.

Using cargo fix --edition to transition to Rust 2021

Instructions on how to use this tool to transition a crate to Rust 2021 can be found in the Rust Edition Guide.

Licensed under either of

at your option.

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4