Fix typos in the code base (#2206)

Note that only documentation and comments are impacted by this change.
This commit is contained in:
Julien Brianceau authored and GitHub committed 2021-04-07 20:43:50 +02:00
1 parent a5abec9cb5
commit e8cdfdca87
6 files changed
+6 -6

No files matched your search

@@ -21,7 +21,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;