diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-09-12 14:42:53 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-09-12 14:42:53 +0000 |
| commit | 026faca4cad00870e28cbcdc914235f48b2a4a86 (patch) | |
| tree | 619ab0628f1ef2578f871c6f8858c9d1f64af644 | |
| parent | 4deb072e796e9a0351c669ea7a6b66b1a0fe023f (diff) | |
Fix two typos
| -rw-r--r-- | compiler/rustc_metadata/src/rmeta/decoder.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_metadata/src/rmeta/decoder.rs b/compiler/rustc_metadata/src/rmeta/decoder.rs index 9324f236d22..a57bff3730d 100644 --- a/compiler/rustc_metadata/src/rmeta/decoder.rs +++ b/compiler/rustc_metadata/src/rmeta/decoder.rs @@ -909,7 +909,7 @@ impl MetadataBlob { _ => { writeln!( out, - "unknown -Zls kind. allowed values are: no, all, root, lang_items, features, items" + "unknown -Zls kind. allowed values are: all, root, lang_items, features, items" )?; } } diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index 06d11fa68ed..a13a79cdf2b 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -1598,7 +1598,7 @@ options! { `none`, or a comma separated list of location details, for which \ valid options are `file`, `line`, and `column` (default: `file,line,column`)"), ls: Vec<String> = (Vec::new(), parse_list, [UNTRACKED], - "decode and print various part of the crate metadata for a library crate \ + "decode and print various parts of the crate metadata for a library crate \ (space separated)"), macro_backtrace: bool = (false, parse_bool, [UNTRACKED], "show macro backtraces (default: no)"), |
