Fix broken markup in HACKING

Make "*_foreach" an inline literal to escape the asterisk and
so fix broken markup by the unbalanced asterisk which would start
an emphasis otherwise.

HACKING:223: (WARNING/2) Inline emphasis start-string without end-string.
master
Enrico Tröger 2019-08-31 12:34:38 +02:00
parent 0ce5d5484e
commit c88c27e2d2
1 changed files with 2 additions and 2 deletions

View File

@ -221,8 +221,8 @@ Coding
characters rather than ``gint``, and use a ``guint`` for integers
which cannot be negative rather than ``gint``.
* Prefer loops to calling ``some_type_foreach()`` with a ``user_data``
argument. (Note: Some containers don't support external iteration,
e.g. for tree structures, so *_foreach is fine for those).
argument. (Note: Some containers don't support external iteration,
e.g. for tree structures, so ``*_foreach`` is fine for those).
* Do not use G_LIKELY or G_UNLIKELY (except in critical loops). These
add noise to the code with little real benefit.