Skip to content

Commit

Permalink
Remove unnecessary comment in tiktoken.h
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonwin committed Apr 12, 2024
1 parent b1b7572 commit 6053fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiktoken.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class tiktoken {
}

if (allowed_special.count(special) == 1) {
return { std::move(special), re2::StringPiece(&*start, input.begin() - start - special.size()) }; // failed on windows building
return { std::move(special), re2::StringPiece(&*start, input.begin() - start - special.size()) };
}
}
return { std::nullopt, input };
Expand Down

0 comments on commit 6053fc3

Please sign in to comment.