about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-04-23 17:47:50 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2021-06-01 21:19:27 +0200
commit42312501d0a044b09b2fe0bac99503e57afe5c19 (patch)
tree5486ed444616e282c8510eb0f6ea8ae4b0b198dc /src
parent7414d28e0bb9342c159b5e0e0db43bde11ef8c09 (diff)
downloadrust-42312501d0a044b09b2fe0bac99503e57afe5c19.tar.gz
rust-42312501d0a044b09b2fe0bac99503e57afe5c19.zip
Add missing <title> in redirection page <head>
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/html/layout.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs
index ec04c94dc11..7c2be0fd6fa 100644
--- a/src/librustdoc/html/layout.rs
+++ b/src/librustdoc/html/layout.rs
@@ -235,6 +235,7 @@ crate fn redirect(url: &str) -> String {
 <html lang="en">
 <head>
     <meta http-equiv="refresh" content="0;URL={url}">
+    <title>Redirection</title>
 </head>
 <body>
     <p>Redirecting to <a href="{url}">{url}</a>...</p>