Skip to content

Commit 11f4fea

Browse files
committed
spelling: would
Signed-off-by: Josh Soref <[email protected]>
1 parent 82240d9 commit 11f4fea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Migrator/Diff.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ class diff_match_patch {
662662
static string_t diff_linesToCharsMunge(const string_t &text, std::map<LinePtr, size_t> &lineHash) {
663663
string_t chars;
664664
// Walk the text, pulling out a substring for each line.
665-
// text.split('\n') would would temporarily double our memory footprint.
665+
// text.split('\n') would temporarily double our memory footprint.
666666
// Modifying text would create many large strings to garbage collect.
667667
typename string_t::size_type lineLen;
668668
for (typename string_t::const_pointer lineStart = text.c_str(), textEnd = lineStart + text.size(); lineStart < textEnd; lineStart += lineLen + 1) {

0 commit comments

Comments
 (0)