Skip to content

Commit

Permalink
doc: update contrib docs
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions authored and seanmonstar committed Jun 17, 2023
1 parent 1e83f06 commit 30d7bcc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions _contrib/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,13 @@ You want to contribute? You're awesome! Don't know where to start? Check the [li

- [Submitting a Pull Request](pull-requests.md#submitting-a-pull-request)
- [Commit Guidelines](commits.md)

## Cargo fmt
`cargo fmt --all` does not work in hyper. Please use the following commands:
```txt
# Mac or Linux
rustfmt --check --edition 2018 $(git ls-files '*.rs')
# Powershell
Get-ChildItem . -Filter "*.rs" -Recurse | foreach { rustfmt --check --edition 2018 $_.FullName }
```

0 comments on commit 30d7bcc

Please sign in to comment.