From 28673d9699903c8710254f8afbe591b395e1e12e Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 11 Jun 2024 12:27:12 -0700 Subject: [PATCH] Update api.md --- doc/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api.md b/doc/api.md index fd99d450..dac9a30b 100644 --- a/doc/api.md +++ b/doc/api.md @@ -261,7 +261,7 @@ disallowed. ::: format_context -### Compile-Time Format String Checks +### Compile-Time Checks Compile-time format string checks are enabled by default on compilers that support C++20 `consteval`. On older compilers you can use the @@ -417,7 +417,7 @@ parameter to avoid the expensive `` include. ::: formatted_size(const Locale&, format_string, T&&...) -### Legacy Compile-Time Format String Checks +### Legacy Compile-Time Checks `FMT_STRING` enables compile-time checks on older compilers. It requires C++14 or later and is a no-op in C++11.