@@ -19,7 +19,6 @@ out to us in a GitHub issue, or stop by
19
19
- [ Testing a Single Header's Bindings Generation and Compiling its Bindings] ( #testing-a-single-headers-bindings-generation-and-compiling-its-bindings )
20
20
- [ Authoring New Tests] ( #authoring-new-tests )
21
21
- [ Test Expectations and ` libclang ` Versions] ( #test-expectations-and-libclang-versions )
22
- - [ Automatic code formatting] ( #automatic-code-formatting )
23
22
- [ Pull Requests and Code Reviews] ( #pull-requests-and-code-reviews )
24
23
- [ Generating Graphviz Dot Files] ( #generating-graphviz-dot-files )
25
24
- [ Debug Logging] ( #debug-logging )
@@ -192,29 +191,6 @@ Where `$VERSION` is one of:
192
191
193
192
depending on which version of ` libclang ` you have installed.
194
193
195
- ## Automatic code formatting
196
-
197
- We use [ ` rustfmt ` ] ( https://github.com/rust-lang-nursery/rustfmt ) to enforce a
198
- consistent code style across the whole ` bindgen ` code base. This is enforced in
199
- CI, and your pull requests will get automatically rejected if you don't
200
- re-format with the latest ` rustfmt ` before pushing.
201
-
202
- You can install the latest version of ` rustfmt ` with this command:
203
-
204
- ```
205
- $ cargo install -f rustfmt
206
- ```
207
-
208
- Ensure that ` ~/.cargo/bin ` is on your path.
209
-
210
- Once that is taken care of, you can (re)format all code by running this command:
211
-
212
- ```
213
- $ cargo fmt
214
- ```
215
-
216
- The code style is described in the ` rustfmt.toml ` file in top level of the repo.
217
-
218
194
## Pull Requests and Code Reviews
219
195
220
196
Ensure that each commit stands alone, and passes tests. This enables better `git
0 commit comments