mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Update features.md
Just a very minor typo (that said: these docs don't actually explain what a Feature group is before using the term, but that's for another issue)
This commit is contained in:
parent
8662ab427a
commit
f3519d7964
@ -76,7 +76,7 @@ The usage of features is subject to a few rules:
|
||||
individual features.
|
||||
* Feature groups are not allowed to cyclically depend on one another.
|
||||
* Dev-dependencies cannot be optional.
|
||||
* Features groups can only reference optional dependencies.
|
||||
* Feature groups can only reference optional dependencies.
|
||||
* When a feature is selected, Cargo will call `rustc` with `--cfg
|
||||
feature="${feature_name}"`. If a feature group is included, it and all of its
|
||||
individual features will be included. This can be tested in code via
|
||||
|
Loading…
x
Reference in New Issue
Block a user