Skip to content

Commit

Permalink
Fix invalid declaration of variable in template
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Sep 15, 2024
1 parent 7a87584 commit f2c44f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/releases/feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</updated>

{%- 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 -%}
Expand Down

0 comments on commit f2c44f3

Please sign in to comment.