Skip to content

Commit

Permalink
rustdoc: fix rust-logo.png being included with the wrong name
Browse files Browse the repository at this point in the history
During a refactoring in rust-lang#64443 a typo was introduced in rustdoc's html
renderer, and rust-logo.png was saved as rust-log.png. This fixes the
regression by restoring the proper file name.
  • Loading branch information
pietroalbini committed Sep 30, 2019
1 parent bd9a0aa commit d2d0880
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 d2d0880

Please sign in to comment.