From f2c44f3dcf417e27890fdfb3ffab7b23989f586f Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sun, 15 Sep 2024 23:38:58 +0200 Subject: [PATCH] Fix invalid declaration of variable in template --- templates/releases/feed.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/releases/feed.xml b/templates/releases/feed.xml index 9e3d2a8b0..38281de83 100644 --- a/templates/releases/feed.xml +++ b/templates/releases/feed.xml @@ -16,7 +16,7 @@ {%- for release in recent_releases -%} - {% set link = String::new() %} + {%- set link -%} {%- if release.rustdoc_status && release.target_name.is_some() -%} {%- set link = "/{}/{}/{}/"|format(release.name, release.version, release.target_name.as_ref().unwrap()) -%} {%- else -%}