backtick auto-discovery key usage advice
authorDale Wijnand <dale.wijnand@gmail.com>
Fri, 20 Apr 2018 21:23:08 +0000 (22:23 +0100)
committerDale Wijnand <dale.wijnand@gmail.com>
Fri, 20 Apr 2018 21:23:08 +0000 (22:23 +0100)
src/cargo/util/toml/targets.rs
tests/testsuite/bench.rs
tests/testsuite/run.rs

index d3a04fb5c76912ee49ae40564977cbf77d242cb0..9e3c8a0af593cc961957796971418a2d11dd39dc 100644 (file)
@@ -603,7 +603,7 @@ files will be included as a {target_kind_human} target:
 {rem_targets_str}
 This is likely to break cargo build or cargo test as these files may not be
 ready to be compiled as a {target_kind_human} target today. You can future-proof yourself
-and disable this warning by adding {autodiscover_flag_name} = false to your [package]
+and disable this warning by adding `{autodiscover_flag_name} = false` to your [package]
 section. You may also move the files to a location where Cargo would not
 automatically infer them to be a target, such as in subfolders.
 
index 1871936684ade275da5f8a2379ef16877f98d8e1..595b47926d0eecff0c1f106a9fcd48d2ec931705 100644 (file)
@@ -762,7 +762,7 @@ files will be included as a benchmark target:
 
 This is likely to break cargo build or cargo test as these files may not be
 ready to be compiled as a benchmark target today. You can future-proof yourself
-and disable this warning by adding autobenches = false to your [package]
+and disable this warning by adding `autobenches = false` to your [package]
 section. You may also move the files to a location where Cargo would not
 automatically infer them to be a target, such as in subfolders.
 
index 4a6de2001b43ae0554633b6029ec29fe3827431e..47360c4cd5f6db3e6d054ac4acb3e43c09e1196b 100644 (file)
@@ -455,7 +455,7 @@ files will be included as a example target:
 
 This is likely to break cargo build or cargo test as these files may not be
 ready to be compiled as a example target today. You can future-proof yourself
-and disable this warning by adding autoexamples = false to your [package]
+and disable this warning by adding `autoexamples = false` to your [package]
 section. You may also move the files to a location where Cargo would not
 automatically infer them to be a target, such as in subfolders.