From f577c1f11dc9795ff8e6e3ad743cd9b5b9c87394 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 2 Jun 2026 10:30:08 -0700 Subject: [PATCH] Improve docs --- doc/syntax.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/syntax.md b/doc/syntax.md index b063042f..478da7f7 100644 --- a/doc/syntax.md +++ b/doc/syntax.md @@ -54,9 +54,9 @@ nested replacement field — `{}` or `{arg_id}` — in which case it takes its value from an integer argument at runtime. Nested fields accept only an *arg_id*; they cannot themselves contain a *format_spec*. -## Standard Format Specification +## Format Specification -The grammar below describes the *format_spec* shared by the standard built-in +The grammar below describes the *format_spec* shared by the built-in types — integers, floating-point values, characters, strings, booleans, and pointers — as well as by any user-defined type whose `formatter` reuses fmt's parser.