diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-01-14 07:47:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-14 07:47:38 +0100 |
| commit | dae3ef2eb2c49542d7eb802db17f3863f87202b1 (patch) | |
| tree | 77ad0b459e79551c0d27d21c587c43e5d79119bd /src/librustdoc/html/render | |
| parent | ccfee3d53b0d7b4855ad17702ca309ccf5eff3ac (diff) | |
| parent | b8ef148effd5d438fb44051f4b9f63bd8a14fb60 (diff) | |
| download | rust-dae3ef2eb2c49542d7eb802db17f3863f87202b1.tar.gz rust-dae3ef2eb2c49542d7eb802db17f3863f87202b1.zip | |
Rollup merge of #92854 - Urgau:better-rust-logo, r=GuillaumeGomez
Use the updated Rust logo in rustdoc This pull-request use the updated Rust logo from https://github.com/rust-lang/rust-artwork/pull/9 and also change the logo format from PNG to SVG. | Before | After | | --- | --- | |  |  | I also took the liberty to update the two PNG favicons with the SVG reducing their size by ~35% each. Fixes https://github.com/rust-lang/rust/issues/92831 r? ```@jsha```
Diffstat (limited to 'src/librustdoc/html/render')
| -rw-r--r-- | src/librustdoc/html/render/write_shared.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/write_shared.rs b/src/librustdoc/html/render/write_shared.rs index 2e763dbd8fe..d5e5af7bbf8 100644 --- a/src/librustdoc/html/render/write_shared.rs +++ b/src/librustdoc/html/render/write_shared.rs @@ -240,7 +240,7 @@ pub(super) fn write_shared( } if (*cx.shared).layout.logo.is_empty() { - write_toolchain("rust-logo.png", static_files::RUST_LOGO)?; + write_toolchain("rust-logo.svg", static_files::RUST_LOGO_SVG)?; } if (*cx.shared).layout.favicon.is_empty() { write_toolchain("favicon.svg", static_files::RUST_FAVICON_SVG)?; |
