提交 4d1fbacc 编写于 作者: B bors

Auto merge of #70873 - mark-i-m:update-rdg, r=JohnTitor

Update rustc-dev-guide

This should finally fix toolstate

r? @JohnTitor
Subproject commit 66be765404efb82c6bc2735473cbd3472f777dc0
Subproject commit 7adfab42bab045a848126895c2f1e09927c1331a
......@@ -108,7 +108,9 @@ pub fn linkcheck(
is_real_error = true;
}
Reason::UnsuccessfulServerResponse(status) => {
if status.is_client_error() {
if status.as_u16() == 429 {
eprintln!("Received 429 (TOO_MANY_REQUESTS) for link `{}`", link.link.uri);
} else if status.is_client_error() {
is_real_error = true;
} else {
eprintln!("Unsuccessful server response for link `{}`", link.link.uri);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册