Skip to content

Commit 7e3f5d6

Browse files
committed
chore: minor improvement for docs
Signed-off-by: bigmoonbit <bigmoonbit@outlook.com>
1 parent 790b938 commit 7e3f5d6

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

doc/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ following differences:
708708
precision that provides round-trip guarantees similarly to other languages
709709
like Java and Python. `std::format` is currently specified in terms of
710710
`std::to_chars` which tries to generate the smallest number of characters
711-
(ignoring redundant digits and sign in exponent) and may procude more
711+
(ignoring redundant digits and sign in exponent) and may produce more
712712
decimal digits than necessary.
713713

714714
## Configuration Options
@@ -748,7 +748,7 @@ configuring CMake.
748748
- `0` - off (default)
749749
- `1` - disables locale support and applies some optimizations
750750
- `2` - disables some Unicode features, named arguments and applies more
751-
aggresive optimizations
751+
aggressive optimizations
752752

753753
### Binary Size Optimization
754754

doc/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ hide:
7676
<p>
7777
The default is <b>locale-independent</b>, but you can opt into localized
7878
formatting and {fmt} makes it work with Unicode, addressing issues in the
79-
standard libary.
79+
standard library.
8080
</p>
8181
</div>
8282

include/fmt/format.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ template <typename T>
737737
using is_double_double = bool_constant<std::numeric_limits<T>::digits == 106>;
738738

739739
// An allocator that uses malloc/free to allow removing dependency on the C++
740-
// standard libary runtime. std::decay is used for back_inserter to be found by
740+
// standard library runtime. std::decay is used for back_inserter to be found by
741741
// ADL when applied to memory_buffer.
742742
template <typename T> struct allocator : private std::decay<void> {
743743
using value_type = T;

test/fuzzing/fuzzer-common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#define FMT_FUZZ_SEPARATE_ALLOCATION 1
2323

2424
// The size of the largest possible type in use.
25-
// To let the the fuzzer mutation be efficient at cross pollinating between
25+
// To let the fuzzer mutation be efficient at cross pollinating between
2626
// different types, use a fixed size format. The same bit pattern, interpreted
2727
// as another type, is likely interesting.
2828
constexpr auto fixed_size = 16;

0 commit comments

Comments
 (0)