Skip to content

Rust

The rust compiler is pretty brutal so not much has to go in here.

  • Change the default check command in VSCode (instead of check use clippy)
  • 4 spaces for tabs
  • Macros are cool but don’t overuse them.

Use rust analyzer + clippy

Rust analyzer is great and has a bunch of recommendations which you should follow, so set this up and use it.

Use rustfmt

This just standardises the code format.