Skip to content

Commit 3ad3597

Browse files
committed
change based on reviews
1 parent 08c7f97 commit 3ad3597

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustdoc/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ crate struct Options {
121121
/// For example, using ignore-foo to ignore running the doctest on any target that
122122
/// contains "foo" as a substring
123123
crate enable_per_target_ignores: bool,
124-
/// Compile test but do not run them.
124+
/// Do not run doctests, compile them if should_test is active.
125125
crate no_run: bool,
126126

127127
/// The path to a rustc-like binary to build tests with. If not set, we

src/librustdoc/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ fn opts() -> Vec<RustcOptGroup> {
536536
"[unversioned-shared-resources,toolchain-shared-resources,invocation-specific]",
537537
)
538538
}),
539-
unstable("no-run", |o| o.optflag("", "no-run", "Compile doc tests without running it")),
539+
unstable("no-run", |o| o.optflag("", "no-run", "Compile doctests without running them")),
540540
]
541541
}
542542

0 commit comments

Comments
 (0)