Skip to content

Commit fdfb0cc

Browse files
ddogfooddalexrp
authored andcommitted
fix: typo
1 parent ae2aaee commit fdfb0cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/download/0.15.1/release-notes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1343,7 +1343,7 @@ <h1>0.15.1 Release Notes</h1>
13431343
123
13441344
else
13451345
@compileError("foo not supported on this target");{#endsyntax#}</pre>
1346-
<p>This does break feature detection with {#syntax#}@hasDecl{#endsyntax#}. If feature detection is needed, a better appraoch&mdash;less prone to typos and bitrotting&mdash;is to conditionally initialize the declaration to some &quot;sentinel&quot; value which can be detected. A good choice is often the {#syntax#}void{#endsyntax#} value {#syntax#}{}{#endsyntax#}:</p>
1346+
<p>This does break feature detection with {#syntax#}@hasDecl{#endsyntax#}. If feature detection is needed, a better approach&mdash;less prone to typos and bitrotting&mdash;is to conditionally initialize the declaration to some &quot;sentinel&quot; value which can be detected. A good choice is often the {#syntax#}void{#endsyntax#} value {#syntax#}{}{#endsyntax#}:</p>
13471347
{#code|feature-detection.zig#}
13481348
{#header_close#}
13491349

0 commit comments

Comments
 (0)