]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/layout.rs
Add alt tags for logos
[rust.git] / src / librustdoc / html / layout.rs
index 227981d68fbb4c7cacd5021044e75b4ab7f3346d..ffcd22fa8209604daeda1542306d22cc1e13c07a 100644 (file)
@@ -148,7 +148,7 @@ pub fn render<T: fmt::Display, S: fmt::Display>(
         "".to_string()
     } else {
         format!("<a href='{}{}/index.html'>\
-                 <img src='{}' alt='' width='100'></a>",
+                 <img src='{}' alt='logo' width='100'></a>",
                 page.root_path, layout.krate,
                 layout.logo)
     },