diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs
index 301dddbbfb9b2..1ff71a0024b28 100644
--- a/src/librustdoc/html/render.rs
+++ b/src/librustdoc/html/render.rs
@@ -574,7 +574,7 @@ fn write_shared(
let write = |p, c| { cx.shared.fs.write(p, c) };
if (*cx.shared).layout.logo.is_empty() {
- write(cx.path("rust-log.png"), static_files::RUST_LOGO)?;
+ write(cx.path("rust-logo.png"), static_files::RUST_LOGO)?;
}
if (*cx.shared).layout.favicon.is_empty() {
write(cx.path("favicon.ico"), static_files::RUST_FAVICON)?;