chore: minor improvement for docs (#4616)

Signed-off-by: bigmoonbit <bigmoonbit@outlook.com>
This commit is contained in:
bigmoonbit
2025-11-29 04:55:25 +08:00
committed by GitHub
parent 790b9389ae
commit 2727215c11
4 changed files with 5 additions and 5 deletions

View File

@@ -708,7 +708,7 @@ following differences:
precision that provides round-trip guarantees similarly to other languages
like Java and Python. `std::format` is currently specified in terms of
`std::to_chars` which tries to generate the smallest number of characters
(ignoring redundant digits and sign in exponent) and may procude more
(ignoring redundant digits and sign in exponent) and may produce more
decimal digits than necessary.
## Configuration Options
@@ -748,7 +748,7 @@ configuring CMake.
- `0` - off (default)
- `1` - disables locale support and applies some optimizations
- `2` - disables some Unicode features, named arguments and applies more
aggresive optimizations
aggressive optimizations
### Binary Size Optimization

View File

@@ -76,7 +76,7 @@ hide:
<p>
The default is <b>locale-independent</b>, but you can opt into localized
formatting and {fmt} makes it work with Unicode, addressing issues in the
standard libary.
standard library.
</p>
</div>

View File

@@ -737,7 +737,7 @@ template <typename T>
using is_double_double = bool_constant<std::numeric_limits<T>::digits == 106>;
// An allocator that uses malloc/free to allow removing dependency on the C++
// standard libary runtime. std::decay is used for back_inserter to be found by
// standard library runtime. std::decay is used for back_inserter to be found by
// ADL when applied to memory_buffer.
template <typename T> struct allocator : private std::decay<void> {
using value_type = T;

View File

@@ -22,7 +22,7 @@
#define FMT_FUZZ_SEPARATE_ALLOCATION 1
// The size of the largest possible type in use.
// To let the the fuzzer mutation be efficient at cross pollinating between
// To let the fuzzer mutation be efficient at cross pollinating between
// different types, use a fixed size format. The same bit pattern, interpreted
// as another type, is likely interesting.
constexpr auto fixed_size = 16;