diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-09-18 11:04:22 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-18 11:04:22 -0500 |
| commit | 156698ea609910c829a8d8291545ada7f0eeec1b (patch) | |
| tree | ccea22f834950fe81b03d11ca82df3ecc6b8bbec /src | |
| parent | 8dae2b0aefb5fc890270a1fe39591d338619d440 (diff) | |
| parent | e89748e54f059e72b4ab4b6948a992f273c64cc6 (diff) | |
| download | rust-156698ea609910c829a8d8291545ada7f0eeec1b.tar.gz rust-156698ea609910c829a8d8291545ada7f0eeec1b.zip | |
Rollup merge of #44548 - oyvindln:rustc_help_fix, r=arielb1
Add proper help line for `-C inline threshold` Looks like someone accidentally some words when adding this. This also remove a period on a different help line for consistency, as no options have a period.
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/session/config.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs index f079d7d4338..e1107a9b97f 100644 --- a/src/librustc/session/config.rs +++ b/src/librustc/session/config.rs @@ -938,7 +938,7 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options, debug_assertions: Option<bool> = (None, parse_opt_bool, [TRACKED], "explicitly enable the cfg(debug_assertions) directive"), inline_threshold: Option<usize> = (None, parse_opt_uint, [TRACKED], - "set the inlining threshold for"), + "set the threshold for inlining a function (default: 225)"), panic: Option<PanicStrategy> = (None, parse_panic_strategy, [TRACKED], "panic strategy to compile crate with"), } @@ -1085,9 +1085,9 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options, linker_flavor: Option<LinkerFlavor> = (None, parse_linker_flavor, [UNTRACKED], "Linker flavor"), fuel: Option<(String, u64)> = (None, parse_optimization_fuel, [TRACKED], - "Set the optimization fuel quota for a crate."), + "set the optimization fuel quota for a crate"), print_fuel: Option<String> = (None, parse_opt_string, [TRACKED], - "Make Rustc print the total optimization fuel used by a crate."), + "make Rustc print the total optimization fuel used by a crate"), remap_path_prefix_from: Vec<String> = (vec![], parse_string_push, [TRACKED], "add a source pattern to the file path remapping config"), remap_path_prefix_to: Vec<String> = (vec![], parse_string_push, [TRACKED], |
