mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
Auto merge of #70873 - mark-i-m:update-rdg, r=JohnTitor
Update rustc-dev-guide This should finally fix toolstate r? @JohnTitor
This commit is contained in:
commit
4d1fbaccb8
@ -1 +1 @@
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user