Skip to content

Commit fad0919

Browse files
author
MarcoFalke
committed
[NFC][compiler-rt] Fix typo in FuzzedDataProvider.h doc
1 parent 3717147 commit fad0919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/include/fuzzer/FuzzedDataProvider.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ FuzzedDataProvider::ConsumeRandomLengthString(size_t max_length) {
158158
// picking its contents.
159159
std::string result;
160160

161-
// Reserve the anticipated capaticity to prevent several reallocations.
161+
// Reserve the anticipated capacity to prevent several reallocations.
162162
result.reserve(std::min(max_length, remaining_bytes_));
163163
for (size_t i = 0; i < max_length && remaining_bytes_ != 0; ++i) {
164164
char next = ConvertUnsignedToSigned<char>(data_ptr_[0]);

0 commit comments

Comments
 (0)