File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ fn wrapped_rustc_command(rustc_wrappers: &[PathBuf], rustc_binary: &Path) -> Com
438
438
/// (if multiple doctests are merged), `main` function,
439
439
/// and everything needed to calculate the compiler's command-line arguments.
440
440
/// The `# ` prefix on boring lines has also been stripped.
441
- struct RunnableDocTest {
441
+ pub ( crate ) struct RunnableDocTest {
442
442
full_test_code : String ,
443
443
full_test_line_offset : usize ,
444
444
test_opts : IndividualTestOptions ,
@@ -710,12 +710,11 @@ impl IndividualTestOptions {
710
710
711
711
/// A doctest scraped from the code, ready to be turned into a runnable test.
712
712
///
713
- /// The pipeline goes: [`clean`] AST -> `ScrapedDoctest` -> [ `RunnableDoctest`] .
713
+ /// The pipeline goes: [`clean`] AST -> `ScrapedDoctest` -> `RunnableDoctest`.
714
714
/// [`run_merged_tests`] converts a bunch of scraped doctests to a single runnable doctest,
715
715
/// while [`generate_unique_doctest`] does the standalones.
716
716
///
717
717
/// [`clean`]: crate::clean
718
- /// [`RunnableDoctest`]: crate::doctest::RunnableDoctest
719
718
/// [`run_merged_tests`]: crate::doctest::runner::DocTestRunner::run_merged_tests
720
719
/// [`generate_unique_doctest`]: crate::doctest::make::DocTestBuilder::generate_unique_doctest
721
720
pub ( crate ) struct ScrapedDocTest {
You can’t perform that action at this time.
0 commit comments