Skip to content

Commit 4f3b6bc

Browse files
committed
perlhacktips: fix trivial typos
`<stdbool.h` was missing its closing `>`. `S<C<(bool)> I<expr>>>` had one `>` too many.
1 parent 3c6cd8b commit 4f3b6bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: pod/perlhacktips.pod

+2-2
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ support their use.
236236

237237
booleans
238238

239-
You can use C<bool>, C<true>, and C<false> as provided by C<< <stdbool.h >>
239+
You can use C<bool>, C<true>, and C<false> as provided by C<< <stdbool.h> >>
240240
(or natively in C++).
241241

242242
=back
@@ -2121,7 +2121,7 @@ C99, and so some workarounds were created. The C<TRUE> and C<FALSE>
21212121
macros are still available as alternatives for C<true> and C<false>.
21222122
And the C<cBOOL> macro was created to correctly cast to a true/false
21232123
value in all circumstances, but should no longer be necessary. Using
2124-
S<C<(bool)> I<expr>>> should now always work.
2124+
S<C<(bool)> I<expr>> should now always work.
21252125

21262126
There are no plans to remove any of C<TRUE>, C<FALSE>, nor C<cBOOL>.
21272127

0 commit comments

Comments
 (0)