diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2020-08-27 18:20:15 +0200 | 
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2020-08-27 18:21:25 +0200 | 
| commit | df975cf9c27681da7751c12f19850e67940593df (patch) | |
| tree | 72bf89a47ea2c84f717818336fc20621aff69029 /src/librustdoc/lib.rs | |
| parent | f7cbb7a594658099ebb9d0008779511fe2fbe9ab (diff) | |
| download | rust-df975cf9c27681da7751c12f19850e67940593df.tar.gz rust-df975cf9c27681da7751c12f19850e67940593df.zip | |
Rename rustdoc/test -> rustdoc/doctest
This modules contains the implementation of doctests, and not the tests of rustdoc itself. This name is confusing, so let's rename it to doctest for clarity.
Diffstat (limited to 'src/librustdoc/lib.rs')
| -rw-r--r-- | src/librustdoc/lib.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index b5e246b5d17..8658b39b455 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -64,13 +64,13 @@ mod docfs; mod doctree; #[macro_use] mod error; +mod doctest; mod fold; crate mod formats; pub mod html; mod json; mod markdown; mod passes; -mod test; mod theme; mod visit_ast; mod visit_lib; @@ -476,7 +476,7 @@ fn main_options(options: config::Options) -> MainResult { match (options.should_test, options.markdown_input()) { (true, true) => return wrap_return(&diag, markdown::test(options)), - (true, false) => return test::run(options), + (true, false) => return doctest::run(options), (false, true) => { return wrap_return( &diag, | 
