Skip to content

Commit

Permalink
fix(website): fix outdated code in contributor docs
Browse files Browse the repository at this point in the history
  • Loading branch information
strager committed Aug 21, 2024
1 parent 5890d87 commit 6b4539f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/public/contribute/create-diagnostic/index.ejs.html
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ <h2>3. Detection and reporting of the diagnostic</h2>

<figure>
<pre><code class="cxx">Source_Code_Span op_span = /* usually this->peek().span */;
this->diag_reporter_->report(Diag_Comparison_With_Empty_String{
this->diags_.add(Diag_Comparison_With_Empty_String{
.comparison_operator = op_span,
});</code></pre>
</figure>
Expand Down

0 comments on commit 6b4539f

Please sign in to comment.