Update src/Functions/GatherUtils/Sources.h

This commit is contained in:
sdk2 2021-08-26 18:52:17 +08:00 committed by GitHub
parent bcaff65457
commit d9308749de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -325,7 +325,7 @@ struct StringSource
};
/// Differs to StringSource by having 'offest' and 'length' in code points instead of bytes in getSlice* methods.
/// Differs to StringSource by having 'offset' and 'length' in code points instead of bytes in getSlice* methods.
/** NOTE: The behaviour of substring and substringUTF8 is inconsistent when negative offset is greater than string size:
* substring:
* hello