Fix link to source
The URLs contained an extra `clippy_lints`, which resulted in broken links. Links are generated using each lint's `id_location`, which already contains the full path inside the repository.
This commit is contained in:
parent
ddda954e37
commit
b86a48955e
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ Otherwise, have a great day =^.^=
|
|||
{# Jump to source #}
|
||||
{% if let Some(id_location) = lint.id_location %}
|
||||
<div class="lint-additional-info-item"> {# #}
|
||||
<a href="https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/{{id_location}}">View Source</a> {# #}
|
||||
<a href="https://github.com/rust-lang/rust-clippy/blob/master/{{id_location}}">View Source</a> {# #}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div> {# #}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue