How To Install Cargo-fmt In Arch And Fedora?

How To Install Cargo-fmt In Arch And Fedora?

cargo-fmt

issues

Install cargo-fmt

  • Arch Linux pacman -S rustup Click to copy
  • Fedora dnf install rustfmt-preview Click to copy

rustfmt-preview

issues

rustfmt

Tool to find and fix Rust formatting issues

rust

Systems programming language focused on safety, speed and concurrency

rustup

The Rust toolchain installer
Install the latest version of cargo-fmt in Arch and Fedora from terminal. To install the cargo-fmt just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of cargo-fmt from the respository and install it in your computer/server.