diff options
| author | Camelid <camelidcamel@gmail.com> | 2021-01-28 15:51:54 -0800 |
|---|---|---|
| committer | Camelid <camelidcamel@gmail.com> | 2021-01-31 19:22:37 -0800 |
| commit | 82010e86d388f2250e98cb8859fa272d294ae3b5 (patch) | |
| tree | 6ba711af1f77094a65df49cfc2fc7bbfb5f0906c /src/librustdoc/lib.rs | |
| parent | bf193d69fe48f4ec3cac57ab7abb4e9f2a291661 (diff) | |
| download | rust-82010e86d388f2250e98cb8859fa272d294ae3b5.tar.gz rust-82010e86d388f2250e98cb8859fa272d294ae3b5.zip | |
rustdoc: Note why `rustdoc::html::markdown` is public
Almost all of the modules are crate-private, except for `rustdoc::json::types`, which I believe is intended to be for public use; and `rustdoc::html::markdown`, which is used externally by the error-index generator and so has to be public.
Diffstat (limited to 'src/librustdoc/lib.rs')
| -rw-r--r-- | src/librustdoc/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index c61cbf78f77..53f891251f5 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -83,7 +83,8 @@ mod doctree; mod error; mod doctest; mod fold; -crate mod formats; +mod formats; +// used by the error-index generator, so it needs to be public pub mod html; mod json; mod markdown; |
