Auto merge of #7735 - ehuss:prog-macro, r=alexcrichton

Fix typo.
This commit is contained in:
bors 2020-01-06 15:40:54 +00:00
commit feb2103f60

View File

@ -266,7 +266,7 @@ bar = { version = "1.0", optional = true }
fancy-feature = ["foo", "bar"]
```
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.