Skip to content

Commit feb2103

Browse files
committed
Auto merge of #7735 - ehuss:prog-macro, r=alexcrichton
Fix typo.
2 parents f7c5b1f + 6d190fe commit feb2103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/reference/specifying-dependencies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ bar = { version = "1.0", optional = true }
266266
fancy-feature = ["foo", "bar"]
267267
```
268268

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

0 commit comments

Comments
 (0)