From 43de4d3630274e1287179c86896ed4c2d8b9eff4 Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Tue, 7 Nov 2023 10:21:51 +0900 Subject: doc: fix typos As found by lint-spelling.py using codespell 2.2.6. --- src/test/fuzz/FuzzedDataProvider.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/fuzz/FuzzedDataProvider.h') diff --git a/src/test/fuzz/FuzzedDataProvider.h b/src/test/fuzz/FuzzedDataProvider.h index 8a8214bd99..5903ed8379 100644 --- a/src/test/fuzz/FuzzedDataProvider.h +++ b/src/test/fuzz/FuzzedDataProvider.h @@ -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(data_ptr_[0]); -- cgit v1.2.3