From 3ad3597bd42c32f2b41f680ea331b06f10f5cecf Mon Sep 17 00:00:00 2001 From: AliƩnore Bouttefeux Date: Wed, 7 Apr 2021 15:45:40 +0200 Subject: change based on reviews --- src/librustdoc/config.rs | 2 +- src/librustdoc/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 { "[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")), ] } -- cgit 1.4.1-3-g733a5