File tree 1 file changed +7
-8
lines changed
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -268,14 +268,6 @@ to run tests and benchmarks.
268
268
Tests have the [ ` cfg(test) ` conditional expression] [ cfg-test ] enabled whether
269
269
or not the harness is enabled.
270
270
271
- ### The ` edition ` field
272
-
273
- The ` edition ` field defines the [ Rust edition] the target will use. If not
274
- specified, it defaults to the [ ` edition ` field] [ package-edition ] for the
275
- ` [package] ` . This field should usually not be set, and is only intended for
276
- advanced scenarios such as incrementally transitioning a large package to a
277
- new edition.
278
-
279
271
### The ` crate-type ` field
280
272
281
273
The ` crate-type ` field defines the [ crate types] that will be generated by the
@@ -313,6 +305,13 @@ name = "my-pg-tool"
313
305
required-features = [" postgres" , " tools" ]
314
306
```
315
307
308
+ ### The ` edition ` field
309
+
310
+ The ` edition ` field defines the [ Rust edition] the target will use. If not
311
+ specified, it defaults to the [ ` edition ` field] [ package-edition ] for the
312
+ ` [package] ` . This field should usually not be set, and is only intended for
313
+ advanced scenarios such as incrementally transitioning a large package to a
314
+ new edition.
316
315
317
316
## Target auto-discovery
318
317
You can’t perform that action at this time.
0 commit comments