Skip to content

Commit

Permalink
Auto merge of #64904 - ollie27:rustdoc_logo, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bors committed Sep 30, 2019
2 parents bd9a0aa + dc29531 commit bf8491e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;
Expand Down

0 comments on commit bf8491e

Please sign in to comment.