From 0f133953fb2d32a55f40fd267b367438986f7c30 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 3 Mar 2026 08:20:51 -0800 Subject: [PATCH] Tweak docs --- doc/api.md | 8 ++++---- doc/get-started.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/api.md b/doc/api.md index 4d03b26c..ff190383 100644 --- a/doc/api.md +++ b/doc/api.md @@ -20,11 +20,11 @@ The {fmt} library API consists of the following components: All functions and types provided by the library reside in namespace `fmt` and macros have prefix `FMT_`. -## C++ Modules API +## C++ Module API -With the new C++ Modules API, all the headers listed above do not need to -be explicitly #included. We can instead use the `import fmt;` statement instead. -All other functionality, listed below remains the same. +With the C++ module API, the headers listed above don't need to be included. +You can use the `import fmt;` statement instead. All other functionality, +listed below, remains the same. ## Base API diff --git a/doc/get-started.md b/doc/get-started.md index bc589cb5..c37d4139 100644 --- a/doc/get-started.md +++ b/doc/get-started.md @@ -9,7 +9,7 @@ with CMake, while the [Build Systems](#build-systems) section covers the rest. ## CMake {fmt} provides three CMake targets: `fmt::fmt` for the standard compiled library, -`fmt::fmt-module` for the C++ modules library and `fmt::fmt-header-only` for the +`fmt::fmt-module` for the C++ module library and `fmt::fmt-header-only` for the header-only library. It is recommended to use the compiled library or the module library for improved build times. @@ -43,7 +43,7 @@ There are three primary ways to use {fmt} with CMake: ### Alternative Targets -In order to use the header-only target or the module target, simply substitute the +In order to use the header-only target or the module target, simply substitute the `fmt::fmt` in the above steps with `fmt::fmt-header-only` or `fmt::fmt-module` accordingly.