Skip to content

Commit

Permalink
Auto merge of #7735 - ehuss:prog-macro, r=alexcrichton
Browse files Browse the repository at this point in the history
Fix typo.
  • Loading branch information
bors committed Jan 6, 2020
2 parents f7c5b1f + 6d190fe commit feb2103
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 @@ -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.
Expand Down

0 comments on commit feb2103

Please sign in to comment.