diff options
| author | AliƩnore Bouttefeux <alienore.bouttefeux@gmail.com> | 2021-04-07 15:45:40 +0200 |
|---|---|---|
| committer | AliƩnore Bouttefeux <alienore.bouttefeux@gmail.com> | 2021-04-07 15:45:40 +0200 |
| commit | 3ad3597bd42c32f2b41f680ea331b06f10f5cecf (patch) | |
| tree | 259df5f3bad3650be1220f2824f952776e961215 /src | |
| parent | 08c7f975263424cc1a56401c852689e84b239dfc (diff) | |
| download | rust-3ad3597bd42c32f2b41f680ea331b06f10f5cecf.tar.gz rust-3ad3597bd42c32f2b41f680ea331b06f10f5cecf.zip | |
change based on reviews
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/config.rs | 2 | ||||
| -rw-r--r-- | src/librustdoc/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/config.rs b/src/librustdoc/config.rs index 339eb50ff13..60b42cbb3a0 100644 --- a/src/librustdoc/config.rs +++ b/src/librustdoc/config.rs @@ -121,7 +121,7 @@ crate struct Options { /// For example, using ignore-foo to ignore running the doctest on any target that /// contains "foo" as a substring crate enable_per_target_ignores: bool, - /// Compile test but do not run them. + /// Do not run doctests, compile them if should_test is active. crate no_run: bool, /// The path to a rustc-like binary to build tests with. If not set, we diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index 0b46399cf4e..ac171dc12a8 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -536,7 +536,7 @@ fn opts() -> Vec<RustcOptGroup> { "[unversioned-shared-resources,toolchain-shared-resources,invocation-specific]", ) }), - unstable("no-run", |o| o.optflag("", "no-run", "Compile doc tests without running it")), + unstable("no-run", |o| o.optflag("", "no-run", "Compile doctests without running them")), ] } |
