We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e83f06 commit 30d7bccCopy full SHA for 30d7bcc
1 file changed
_contrib/contributing.md
@@ -13,3 +13,13 @@ You want to contribute? You're awesome! Don't know where to start? Check the [li
13
14
- [Submitting a Pull Request](pull-requests.md#submitting-a-pull-request)
15
- [Commit Guidelines](commits.md)
16
+
17
+## Cargo fmt
18
+`cargo fmt --all` does not work in hyper. Please use the following commands:
19
+```txt
20
+# Mac or Linux
21
+rustfmt --check --edition 2018 $(git ls-files '*.rs')
22
23
+# Powershell
24
+Get-ChildItem . -Filter "*.rs" -Recurse | foreach { rustfmt --check --edition 2018 $_.FullName }
25
+```
0 commit comments