Skip to content

Commit

Permalink
Fix dogfood error
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Aug 15, 2024
1 parent 7980941 commit cbf019b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/compile-test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ struct Renderer<'a> {
}

impl<'a> Renderer<'a> {
fn markdown(&self, input: &str) -> Safe<String> {
fn markdown(input: &str) -> Safe<String> {
let parser = Parser::new_ext(input, Options::all());
let mut html_output = String::new();
html::push_html(&mut html_output, parser);
Expand Down
2 changes: 1 addition & 1 deletion util/gh-pages/index_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ <h2 class="panel-title">
</header>

<div class="list-group lint-docs">
<div class="list-group-item lint-doc-md">{(markdown(lint.docs))}</div>
<div class="list-group-item lint-doc-md">{(Self::markdown(lint.docs))}</div>
<div class="lint-additional-info-container">
{# Applicability #}
<div class="lint-additional-info-item">
Expand Down

0 comments on commit cbf019b

Please sign in to comment.