Rollup merge of #108984 - Teapot4195:issue-106803-fix, r=ozkanonur

bootstrap: document tidy

Enable documentation of tidy, as suggested in #106803. Jyn mentioned they should probably be added to `doc.rust-lang.org`, how should that be done?
This commit is contained in:
Matthias Krüger 2023-03-12 08:13:27 +01:00 committed by GitHub
commit 0b0f334764
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -741,6 +741,7 @@ macro_rules! describe {
doc::EmbeddedBook, doc::EmbeddedBook,
doc::EditionGuide, doc::EditionGuide,
doc::StyleGuide, doc::StyleGuide,
doc::Tidy,
), ),
Kind::Dist => describe!( Kind::Dist => describe!(
dist::Docs, dist::Docs,

View File

@ -882,6 +882,7 @@ fn run(self, builder: &Builder<'_>) {
// "cargo-credential-wincred", // "cargo-credential-wincred",
] ]
); );
tool_doc!(Tidy, "tidy", "src/tools/tidy", ["tidy"]);
#[derive(Ord, PartialOrd, Debug, Copy, Clone, Hash, PartialEq, Eq)] #[derive(Ord, PartialOrd, Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ErrorIndex { pub struct ErrorIndex {