about summary refs log tree commit diff
path: root/src/bootstrap/doc.rs
diff options
context:
space:
mode:
authorMeysam Azad <MeysamAzad81@gmail.com>2023-08-04 20:08:22 +0700
committerMeysam Azad <MeysamAzad81@gmail.com>2023-08-06 14:29:36 +0700
commit0b16456efa95060beedb0e2fe1ed0aa5fa1b7e02 (patch)
treef25c478c599244c2c65d5965f5de886d421b9c35 /src/bootstrap/doc.rs
parent8236f63aba889be5ef9b42c86b3e73c8b877b6af (diff)
downloadrust-0b16456efa95060beedb0e2fe1ed0aa5fa1b7e02.tar.gz
rust-0b16456efa95060beedb0e2fe1ed0aa5fa1b7e02.zip
fix(bootstrap): rename exclude flag to skip 🐛
Diffstat (limited to 'src/bootstrap/doc.rs')
-rw-r--r--src/bootstrap/doc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs
index 9cb3546ba0a..505f06ed12d 100644
--- a/src/bootstrap/doc.rs
+++ b/src/bootstrap/doc.rs
@@ -570,7 +570,7 @@ fn doc_std(
     if builder.no_std(target) == Some(true) {
         panic!(
             "building std documentation for no_std target {target} is not supported\n\
-             Set `docs = false` in the config to disable documentation, or pass `--exclude doc::library`."
+             Set `docs = false` in the config to disable documentation, or pass `--skip library`."
         );
     }