From fb0e0a21e0f754a63ce1b8658c65e43d53a21db5 Mon Sep 17 00:00:00 2001 From: Robin Hundt <24554122+robinhundt@users.noreply.github.com> Date: Tue, 13 Oct 2020 16:54:38 +0200 Subject: [PATCH] Fixed typo in "go to latest version" tooltip PR #1045 introduced a small typo in the "go to latest version" tooltips where a space was missing after the crate name. --- templates/rustdoc/topbar.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/rustdoc/topbar.html b/templates/rustdoc/topbar.html index f7c44dea1..c2fdae95b 100644 --- a/templates/rustdoc/topbar.html +++ b/templates/rustdoc/topbar.html @@ -182,13 +182,13 @@ If this isn't the most recent stable release, offer a link to the latest #} {%- elif not is_latest_version -%} {%- if metadata.yanked -%} - {%- set tooltip = "You are seeing a yanked version of the " ~ metadata.name ~ "crate. Click here to go to the latest version." -%} + {%- set tooltip = "You are seeing a yanked version of the " ~ metadata.name ~ " crate. Click here to go to the latest version." -%} {%- set title = "This release has been yanked, go to latest version" -%} {%- elif is_prerelease -%} - {%- set tooltip = "You are seeing a pre-release version of the " ~ metadata.name ~ "crate. Click here to go to the latest stable version." -%} + {%- set tooltip = "You are seeing a pre-release version of the " ~ metadata.name ~ " crate. Click here to go to the latest stable version." -%} {%- set title = "Go to latest stable release" -%} {%- else -%} - {%- set tooltip = "You are seeing an outdated version of the " ~ metadata.name ~ "crate. Click here to go to the latest version." -%} + {%- set tooltip = "You are seeing an outdated version of the " ~ metadata.name ~ " crate. Click here to go to the latest version." -%} {%- set title = "Go to latest version" -%} {%- endif -%}