[libc++][doc] Fixes header formatting.
authorMark de Wever <koraq@xs4all.nl>
Tue, 27 Jun 2023 16:39:59 +0000 (18:39 +0200)
committerMark de Wever <koraq@xs4all.nl>
Tue, 27 Jun 2023 16:42:51 +0000 (18:42 +0200)
This was broken in D145628; it caused the new header not to be displayed
as a header at all and show part of the markup as text.

libcxx/docs/UsingLibcxx.rst

index 27a8361..96fee66 100644 (file)
@@ -536,9 +536,9 @@ Standard. Libc++ retroactively updates the Unicode Standard in older C++
 versions. This allows the library to have better estimates for newly introduced
 Unicode code points, without requiring the user to use the latest C++ version
 in their code base.
-=======
+
 Turning off ASan annotation in containers
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+-----------------------------------------
 
 ``__asan_annotate_container_with_allocator`` is a customization point to allow users to disable
 `Address Sanitizer annotations for containers <https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow>`_ for specific allocators. This may be necessary for allocators that access allocated memory.
@@ -558,7 +558,7 @@ The annotations for a ``user_allocator`` can be disabled like this:
   #endif
 
 Why may I want to turn it off?
-------------------------------
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 There are a few reasons why you may want to turn off annotations for an allocator.
 Unpoisoning may not be an option, if (for example) you are not maintaining the allocator.