From d2d08808782c802fc27a295ec099718d138c3c98 Mon Sep 17 00:00:00 2001 From: Pietro Albini Date: Mon, 30 Sep 2019 11:47:13 +0200 Subject: [PATCH] rustdoc: fix rust-logo.png being included with the wrong name During a refactoring in #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. --- src/librustdoc/html/render.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)?;