Improve docs

This commit is contained in:
Victor Zverovich 2024-06-15 09:07:04 -07:00
parent 709169a4d8
commit 1334eedaf5
2 changed files with 5 additions and 5 deletions

View File

@ -28,8 +28,8 @@ There are three primary ways to use {fmt} with CMake:
target_link_libraries(<your-target> fmt::fmt) target_link_libraries(<your-target> fmt::fmt)
* **Installed**: You can find and use an [installed](#install) version of {fmt} * **Installed**: You can find and use an [installed](#installation) version of
in your `CMakeLists.txt` file as follows: {fmt} in your `CMakeLists.txt` file as follows:
find_package(fmt) find_package(fmt)
target_link_libraries(<your-target> fmt::fmt) target_link_libraries(<your-target> fmt::fmt)

View File

@ -24,7 +24,7 @@ hide:
<code>fmt::format</code></a> <b>prevent buffer overflow errors</b> via <code>fmt::format</code></a> <b>prevent buffer overflow errors</b> via
automatic memory management. automatic memory management.
</p> </p>
<a href="api#compile-time-format-string-checks">→ Learn more</a> <a href="api#compile-time-checks">→ Learn more</a>
</div> </div>
<div class="feature"> <div class="feature">
@ -103,8 +103,8 @@ hide:
<p> <p>
Type erasure is also used to prevent template bloat, resulting in <b>compact Type erasure is also used to prevent template bloat, resulting in <b>compact
per-call binary code</b>. For example, a call to <code>fmt::print</code> with per-call binary code</b>. For example, a call to <code>fmt::print</code> with
a single argument is fewer than <a href="https://godbolt.org/g/TZU4KF">ten a single argument is just <a href="https://godbolt.org/g/TZU4KF">a few
x86-64 instructions</a>, comparable to <code>printf</code> despite adding instructions</a>, comparable to <code>printf</code> despite adding
runtime safety, and much smaller than the equivalent iostreams code. runtime safety, and much smaller than the equivalent iostreams code.
</p> </p>
<p> <p>