about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorxFrednet <xFrednet@gmail.com>2021-10-27 22:18:51 +0200
committerxFrednet <xFrednet@gmail.com>2021-10-28 11:35:24 +0200
commit01e441f8e51a8276ccbc3bda6ac616eac13d01b4 (patch)
tree08d5ca28d5ab81bfffec5da8cd4c1fa299487aa2 /src/bootstrap
parentdd757b9e0622815be615addb3031770922b87874 (diff)
downloadrust-01e441f8e51a8276ccbc3bda6ac616eac13d01b4.tar.gz
rust-01e441f8e51a8276ccbc3bda6ac616eac13d01b4.zip
Document clippy on nightly-rustc
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/builder.rs1
-rw-r--r--src/bootstrap/doc.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
index d5656f0f37e..6ba1b1b6036 100644
--- a/src/bootstrap/builder.rs
+++ b/src/bootstrap/builder.rs
@@ -482,6 +482,7 @@ impl<'a> Builder<'a> {
                 doc::RustByExample,
                 doc::RustcBook,
                 doc::CargoBook,
+                doc::Clippy,
                 doc::EmbeddedBook,
                 doc::EditionGuide,
             ),
diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs
index 6f2470b706a..2804e7119fb 100644
--- a/src/bootstrap/doc.rs
+++ b/src/bootstrap/doc.rs
@@ -755,6 +755,7 @@ tool_doc!(
     "src/tools/rustfmt",
     ["rustfmt-nightly", "rustfmt-config_proc_macro"],
 );
+tool_doc!(Clippy, "clippy", "src/tools/clippy", ["clippy_utils"]);
 
 #[derive(Ord, PartialOrd, Debug, Copy, Clone, Hash, PartialEq, Eq)]
 pub struct ErrorIndex {