Skip to content

Commit 4d1fbac

Browse files
committed
Auto merge of rust-lang#70873 - mark-i-m:update-rdg, r=JohnTitor
Update rustc-dev-guide This should finally fix toolstate r? @JohnTitor
2 parents 32fb4dc + 0d9bf52 commit 4d1fbac

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/doc/rustc-dev-guide

Submodule rustc-dev-guide updated 84 files

src/tools/rustbook/src/main.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ pub fn linkcheck(
108108
is_real_error = true;
109109
}
110110
Reason::UnsuccessfulServerResponse(status) => {
111-
if status.is_client_error() {
111+
if status.as_u16() == 429 {
112+
eprintln!("Received 429 (TOO_MANY_REQUESTS) for link `{}`", link.link.uri);
113+
} else if status.is_client_error() {
112114
is_real_error = true;
113115
} else {
114116
eprintln!("Unsuccessful server response for link `{}`", link.link.uri);

0 commit comments

Comments
 (0)