From: James Bendig Date: Tue, 21 Feb 2017 17:22:32 +0000 (-0600) Subject: Changed wording for required-features docs to be more clear that missing features... X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~9^2~134^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=abca591a5a695a64a9746bb8ec5cf13b9864020a;p=cargo.git Changed wording for required-features docs to be more clear that missing features means the target is skipped. --- diff --git a/src/doc/manifest.md b/src/doc/manifest.md index ca418b83c..59419d609 100644 --- a/src/doc/manifest.md +++ b/src/doc/manifest.md @@ -553,9 +553,10 @@ harness = true ## The `required-features` field (optional) -The `required-features` field specifies which features must be selected for the -target to be built. This is only relevant for the `[[bin]]`, `[[bench]]`, -`[[test]]`, and `[[example]]` sections, it has no effect on `[lib]`. +The `required-features` field specifies which features the target needs in order +to be built. If any of the required features are not selected, the target will +be skipped. This is only relevant for the `[[bin]]`, `[[bench]]`, `[[test]]`, +and `[[example]]` sections, it has no effect on `[lib]`. ```toml [features]