about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-09-30 06:01:48 +0000
committerbors <bors@rust-lang.org>2019-09-30 06:01:48 +0000
commitbf8491e72ef0d5ea0ef683e9d149408a717545e4 (patch)
tree4be118efed56b7ca44e22709408925f13126367e
parentbd9a0aa627d49de7ee49b4488c4411d66d78fe1d (diff)
parentdc295318fc6ef36a435a19693374112d6ca2aa42 (diff)
downloadrust-bf8491e72ef0d5ea0ef683e9d149408a717545e4.tar.gz
rust-bf8491e72ef0d5ea0ef683e9d149408a717545e4.zip
Auto merge of #64904 - ollie27:rustdoc_logo, r=Mark-Simulacrum
rustdoc: Fix default logo filename

This was a typo made in #64443. It's the reason the logo is missing on the [nightly docs](https://doc.rust-lang.org/nightly/std/).

r? @Mark-Simulacrum
-rw-r--r--src/librustdoc/html/render.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs
index 301dddbbfb9..1ff71a0024b 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)?;