File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ it so that it remains strictly acyclic.
494494
495495## Resolver versions
496496
497- A different feature resolver algorithm can be used by specifying the resolver
497+ Different resolver behavior can be specified through the resolver
498498version in ` Cargo.toml ` like this:
499499
500500``` toml
@@ -503,12 +503,8 @@ name = "my-package"
503503version = " 1.0.0"
504504resolver = " 2"
505505```
506-
507- The version ` "1" ` resolver is the original resolver that shipped with Cargo up to version 1.50.
508- The default is ` "2" ` if the root package specifies [ ` edition = "2021" ` ] ( manifest.md#the-edition-field ) or a newer edition.
509- Otherwise the default is ` "1" ` .
510-
511- The version ` "2" ` resolver introduces changes in [ feature
506+ - ` "1" ` (workspace, [ ` edition = "2015" ` ] ( manifest.md#the-edition-field ) default)
507+ - ` "2" ` ([ ` edition = "2021" ` ] ( manifest.md#the-edition-field ) default): Introduces changes in [ feature
512508unification] ( #features ) . See the [ features chapter] [ features-2 ] for more
513509details.
514510
You can’t perform that action at this time.
0 commit comments