Skip to content

Commit 6b4539f

Browse files
committed
fix(website): fix outdated code in contributor docs
1 parent 5890d87 commit 6b4539f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/public/contribute/create-diagnostic/index.ejs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ <h2>3. Detection and reporting of the diagnostic</h2>
519519

520520
<figure>
521521
<pre><code class="cxx">Source_Code_Span op_span = /* usually this->peek().span */;
522-
this->diag_reporter_->report(Diag_Comparison_With_Empty_String{
522+
this->diags_.add(Diag_Comparison_With_Empty_String{
523523
.comparison_operator = op_span,
524524
});</code></pre>
525525
</figure>

0 commit comments

Comments
 (0)