chore(common):fix typos in commments

This commit is contained in:
rc-swag 2021-12-03 15:18:59 +10:00 committed by GitHub
parent 884c249286
commit faff079e2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -82,7 +82,7 @@ public:
* will have n valid xstring units remaining until the the null terminating character.
* OR
* Returns NULL if there are less than n valid xstring units in the current context.
* Background this was historically for performance during rule evaluation, if I there
* Background this was historically for performance during rule evaluation, if there
* are not enough characters to compare, don't event attempt the comparison.
* Note: Unlike BufMax there is no checking for truncation of code points.
* e.g. the pointer may point to a code unit that is half of a surrogate pair.

View file

@ -147,7 +147,7 @@ public:
* will have n valid xstring units remaining until the the null terminating character.
* OR
* Returns NULL if there are less than n valid xstring units in the current context.
* Background this was historically for performance during rule evaluation, if I there
* Background this was historically for performance during rule evaluation, if there
* are not enough characters to compare, don't event attempt the comparison.
* Note: Unlike BufMax there is no checking for truncation of code points.
* e.g. the pointer may point to a code unit that is half of a surrogate pair.