| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="utf-8"> |
| <title>Redirecting...</title> |
| <meta http-equiv="refresh" content="0; URL=https://doc.rust-lang.org/nightly/nightly-rustc/cargo"> |
| <link rel="canonical" href="https://doc.rust-lang.org/nightly/nightly-rustc/cargo"> |
| </head> |
| <body> |
| <p>Redirecting to... <a href="https://doc.rust-lang.org/nightly/nightly-rustc/cargo">https://doc.rust-lang.org/nightly/nightly-rustc/cargo</a>.</p> |
| |
| <script> |
| // This handles redirects that involve fragments. |
| document.addEventListener('DOMContentLoaded', function() { |
| const fragmentMap = |
| {} |
| ; |
| const fragment = window.location.hash; |
| if (fragment) { |
| let redirectUrl = "https://doc.rust-lang.org/nightly/nightly-rustc/cargo"; |
| const target = fragmentMap[fragment]; |
| if (target) { |
| let url = new URL(target, window.location.href); |
| redirectUrl = url.href; |
| } else { |
| let url = new URL(redirectUrl, window.location.href); |
| url.hash = window.location.hash; |
| redirectUrl = url.href; |
| } |
| window.location.replace(redirectUrl); |
| } |
| // else redirect handled by http-equiv |
| }); |
| </script> |
| </body> |
| </html> |