Skip to content

Commit ab5ac28

Browse files
committed
backtick auto-discovery key usage advice
1 parent d3f5fef commit ab5ac28

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/cargo/util/toml/targets.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ files will be included as a {target_kind_human} target:
603603
{rem_targets_str}
604604
This is likely to break cargo build or cargo test as these files may not be
605605
ready to be compiled as a {target_kind_human} target today. You can future-proof yourself
606-
and disable this warning by adding {autodiscover_flag_name} = false to your [package]
606+
and disable this warning by adding `{autodiscover_flag_name} = false` to your [package]
607607
section. You may also move the files to a location where Cargo would not
608608
automatically infer them to be a target, such as in subfolders.
609609

tests/testsuite/bench.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ files will be included as a benchmark target:
762762
763763
This is likely to break cargo build or cargo test as these files may not be
764764
ready to be compiled as a benchmark target today. You can future-proof yourself
765-
and disable this warning by adding autobenches = false to your [package]
765+
and disable this warning by adding `autobenches = false` to your [package]
766766
section. You may also move the files to a location where Cargo would not
767767
automatically infer them to be a target, such as in subfolders.
768768

tests/testsuite/run.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ files will be included as a example target:
455455
456456
This is likely to break cargo build or cargo test as these files may not be
457457
ready to be compiled as a example target today. You can future-proof yourself
458-
and disable this warning by adding autoexamples = false to your [package]
458+
and disable this warning by adding `autoexamples = false` to your [package]
459459
section. You may also move the files to a location where Cargo would not
460460
automatically infer them to be a target, such as in subfolders.
461461

0 commit comments

Comments
 (0)