Skip to content

Instantly share code, notes, and snippets.

@de-sh
Last active June 16, 2022 15:18
Show Gist options
  • Save de-sh/33e6af16060038dcf7e00d786d9029cc to your computer and use it in GitHub Desktop.
Save de-sh/33e6af16060038dcf7e00d786d9029cc to your computer and use it in GitHub Desktop.
A list of action items to be performed before opening a PR on your favourite rust project
  • Run rust's code formatter cargo fmt.
  • Run clippy cargo clippy.
  • Run test suite cargo test.
  • Does the proposed change behave as expected?
  • Document how the changes affect the previously known behaviour of the component/product.

Some of this might be a bit boring to repeat, so I wrote a shell script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment