Skip to content

Commit d0c47bd

Browse files
committed
Fix help docs for -Zallow-features
1 parent af58fc8 commit d0c47bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_session/src/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@ options! {
12411241

12421242
// tidy-alphabetical-start
12431243
allow_features: Option<Vec<String>> = (None, parse_opt_comma_list, [TRACKED],
1244-
"only allow the listed language features to be enabled in code (space separated)"),
1244+
"only allow the listed language features to be enabled in code (comma separated)"),
12451245
always_encode_mir: bool = (false, parse_bool, [TRACKED],
12461246
"encode MIR of all functions into the crate metadata (default: no)"),
12471247
asm_comments: bool = (false, parse_bool, [TRACKED],

src/test/rustdoc-ui/z-help.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-Z allow-features=val -- only allow the listed language features to be enabled in code (space separated)
1+
-Z allow-features=val -- only allow the listed language features to be enabled in code (comma separated)
22
-Z always-encode-mir=val -- encode MIR of all functions into the crate metadata (default: no)
33
-Z asm-comments=val -- generate comments into the assembly (may change behavior) (default: no)
44
-Z assert-incr-state=val -- assert that the incremental cache is in given state: either `loaded` or `not-loaded`.

0 commit comments

Comments
 (0)