Fix typos in the code base

Note that only documentation and comments are impacted by this change.
This commit is contained in:
Julien Brianceau
2021-04-07 23:02:12 +02:00
committed by Martin Hořeňovský
parent cec35630fb
commit 269f96e2bc
4 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ namespace Catch {
// Extracts the actual name part of an enum instance
// In other words, it returns the Blue part of Bikeshed::Colour::Blue
StringRef extractInstanceName(StringRef enumInstance) {
// Find last occurence of ":"
// Find last occurrence of ":"
size_t name_start = enumInstance.size();
while (name_start > 0 && enumInstance[name_start - 1] != ':') {
--name_start;