Rust tips is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
Rust tips @rust

Get automated improvement suggestions for your code from Clippy:

cargo +nightly install --force clippy

cargo clippy # run in your project directory

If some suggestions are too nitpicky for you, you can hide them by adding `allow(<clippy warning name>)` to your code:

#![cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))]

Clippy depends on Rust compiler version, so you'll need to install it again after every update.

· Web · 0 · 0