Skip to content

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Jun 15, 2024
1 parent 709169a commit 1334eed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions doc/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ There are three primary ways to use {fmt} with CMake:

target_link_libraries(<your-target> fmt::fmt)

* **Installed**: You can find and use an [installed](#install) version of {fmt}
in your `CMakeLists.txt` file as follows:
* **Installed**: You can find and use an [installed](#installation) version of
{fmt} in your `CMakeLists.txt` file as follows:

find_package(fmt)
target_link_libraries(<your-target> fmt::fmt)
Expand Down
6 changes: 3 additions & 3 deletions doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ hide:
<code>fmt::format</code></a> <b>prevent buffer overflow errors</b> via
automatic memory management.
</p>
<a href="api#compile-time-format-string-checks">→ Learn more</a>
<a href="api#compile-time-checks">→ Learn more</a>
</div>

<div class="feature">
Expand Down Expand Up @@ -103,8 +103,8 @@ hide:
<p>
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
a single argument is fewer than <a href="https://godbolt.org/g/TZU4KF">ten
x86-64 instructions</a>, comparable to <code>printf</code> despite adding
a single argument is just <a href="https://godbolt.org/g/TZU4KF">a few
instructions</a>, comparable to <code>printf</code> despite adding
runtime safety, and much smaller than the equivalent iostreams code.
</p>
<p>
Expand Down

0 comments on commit 1334eed

Please sign in to comment.