Skip to content

Commit d1de084

Browse files
author
hyd-dev
committed
Change preexisting "doc-test" to "doctest"
1 parent 43db2aa commit d1de084

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cargo-miri/bin.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ fn phase_rustdoc(fst_arg: &str, mut args: env::Args) {
900900
}
901901

902902
if crossmode {
903-
show_error(format!("cross-interpreting doc-tests is not currently supported by Miri."));
903+
show_error(format!("cross-interpreting doctests is not currently supported by Miri."));
904904
}
905905

906906
// Doctests of `proc-macro` crates (and their dependencies) are always built for the host,
@@ -910,7 +910,7 @@ fn phase_rustdoc(fst_arg: &str, mut args: env::Args) {
910910
return;
911911
}
912912

913-
// For each doc-test, rustdoc starts two child processes: first the test is compiled,
913+
// For each doctest, rustdoc starts two child processes: first the test is compiled,
914914
// then the produced executable is invoked. We want to reroute both of these to cargo-miri,
915915
// such that the first time we'll enter phase_cargo_rustc, and phase_cargo_runner second.
916916
//

0 commit comments

Comments
 (0)