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
This commit is contained in:
bors 2019-09-30 06:01:48 +00:00
commit bf8491e72e

View file

@ -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)?;