From d1de0843ed56eb663f9df9668ede39e58da778ec Mon Sep 17 00:00:00 2001 From: hyd-dev Date: Thu, 27 May 2021 19:48:07 +0800 Subject: [PATCH] Change preexisting "doc-test" to "doctest" --- cargo-miri/bin.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cargo-miri/bin.rs b/cargo-miri/bin.rs index 8eaf3d36c69d..7836b26ea5f9 100644 --- a/cargo-miri/bin.rs +++ b/cargo-miri/bin.rs @@ -900,7 +900,7 @@ fn phase_rustdoc(fst_arg: &str, mut args: env::Args) { } if crossmode { - show_error(format!("cross-interpreting doc-tests is not currently supported by Miri.")); + show_error(format!("cross-interpreting doctests is not currently supported by Miri.")); } // 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) { return; } - // For each doc-test, rustdoc starts two child processes: first the test is compiled, + // For each doctest, rustdoc starts two child processes: first the test is compiled, // then the produced executable is invoked. We want to reroute both of these to cargo-miri, // such that the first time we'll enter phase_cargo_rustc, and phase_cargo_runner second. //