doc: fix typos

As found by lint-spelling.py using codespell 2.2.6.
This commit is contained in:
Sjors Provoost
2023-11-07 10:21:51 +09:00
parent 0387ca0774
commit 43de4d3630
22 changed files with 25 additions and 24 deletions

View File

@@ -158,7 +158,7 @@ FuzzedDataProvider::ConsumeRandomLengthString(size_t max_length) {
// picking its contents.
std::string result;
// Reserve the anticipated capaticity to prevent several reallocations.
// Reserve the anticipated capacity to prevent several reallocations.
result.reserve(std::min(max_length, remaining_bytes_));
for (size_t i = 0; i < max_length && remaining_bytes_ != 0; ++i) {
char next = ConvertUnsignedToSigned<char>(data_ptr_[0]);