From df239b92080ba69a4394c899045ef7b52defdeed Mon Sep 17 00:00:00 2001 From: Danilo Lekovic Date: Thu, 16 Jun 2022 01:12:58 -0700 Subject: [PATCH] doc: fix 'specifing' typo (#14768) --- doc/docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/docs.md b/doc/docs.md index 4474dc851e..f60d765362 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -616,7 +616,7 @@ Also note: in most cases, it's best to leave the format type empty. Floats will default as `g`, integers will be rendered by default as `d`, and `s` is almost always redundant. There are only three cases where specifying a type is recommended: -- format strings are parsed at compile time, so specifing a type can help detect errors then +- format strings are parsed at compile time, so specifying a type can help detect errors then - format strings default to using lowercase letters for hex digits and the `e` in exponents. Use a uppercase type to force the use of uppercase hex digits and an uppercase `E` in exponents. - format strings are the most convenient way to get hex, binary or octal strings from an integer.