Skip to content

Commit 8c186af

Browse files
committed
[Rustc Book] Quotes around value in --cfg example
1 parent 8e10ea6 commit 8c186af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/rustc/src/command-line-arguments.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This flag can turn on or off various `#[cfg]` settings.
1212

1313
The value can either be a single identifier or two identifiers separated by `=`.
1414

15-
For examples, `--cfg 'verbose'` or `--cfg 'feature=serde'`. These correspond
15+
For examples, `--cfg 'verbose'` or `--cfg 'feature="serde"'`. These correspond
1616
to `#[cfg(verbose)]` and `#[cfg(feature = "serde")]` respectively.
1717

1818
## `-L`: add a directory to the library search path

0 commit comments

Comments
 (0)