diff options
| author | Eric Huss <eric@huss.org> | 2020-05-27 09:21:23 -0700 |
|---|---|---|
| committer | Who? Me?! <mark-i-m@users.noreply.github.com> | 2020-05-27 12:35:13 -0500 |
| commit | be3dba039bf23b7aa94fc57580f6ec5f8446b7dd (patch) | |
| tree | 6b2fde283b368513c5fe7a8acf5e6481b92f3fe9 /src/doc/rustc-dev-guide | |
| parent | 81edc4bb4d84e57a37e19284538ed778c540f288 (diff) | |
Apply suggestions from code review
Co-authored-by: Chris Simpkins <git.simpkins@gmail.com> Co-authored-by: Who? Me?! <mark-i-m@users.noreply.github.com>
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/cli.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/cli.md b/src/doc/rustc-dev-guide/src/cli.md index 0e04b38180a..bbb7bae24c5 100644 --- a/src/doc/rustc-dev-guide/src/cli.md +++ b/src/doc/rustc-dev-guide/src/cli.md @@ -13,14 +13,14 @@ flags should be documented there. Unstable flags should be documented in the such as `-C embed-bitcode=no`. - Consider the behavior if the flag is passed multiple times. In some situations, the values should be accumulated (in order!). In other - situations, subsequence flags should override previous flags (for example, + situations, subsequent flags should override previous flags (for example, the lint-level flags). And some flags (like `-o`) should generate an error if it is too ambiguous what multiple flags would mean. - Always give options a long descriptive name, if only for more understandable compiler scripts. - The `--verbose` flag is for adding verbose information to `rustc` output when not compiling a program. For example, using it with the `--version` - flag gives information about the hashes of the code. + flag gives information about the hashes of the compiler code. - Experimental flags and options must be guarded behind the `-Z unstable-options` flag. |
