Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Dec 21, 2019
1 parent d5e20a9 commit 6d190fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/src/reference/specifying-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ dependencies based on optional crate features.
Use [the `[features]` section](manifest.md#the-features-section)
instead.

The same applies to `cfg(debug_assertions)`, `cfg(test)` and `cfg(prog_macro)`.
The same applies to `cfg(debug_assertions)`, `cfg(test)` and `cfg(proc_macro)`.
These values will not work as expected and will always have the default value
returned by `rustc --print=cfg`.
There is currently no way to add dependencies based on these configuration values.
Expand Down

0 comments on commit 6d190fe

Please sign in to comment.