Skip to content

Commit 6d190fe

Browse files
committed
Fix typo.
1 parent d5e20a9 commit 6d190fe

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
@@ -476,7 +476,7 @@ dependencies based on optional crate features.
476476
Use [the `[features]` section](manifest.md#the-features-section)
477477
instead.
478478

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

0 commit comments

Comments
 (0)