Fix typos in the code base
Note that only documentation and comments are impacted by this change.
This commit is contained in:
1 parent
cec35630fb
commit
269f96e2bc
4 files changed
+4
-4
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user