Systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.
rustfmt is a tool for formatting Rust source code. You can install it on Fedora by running:
$ sudo dnf install rustfmt
Now you can use
rustfmt to format either a single file or the whole project:
$ rustfmt src/main.rs
$ cargo fmt