mark as noalias (#20262)

Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com>
This commit is contained in:
Jarred Sumner
2025-06-08 08:20:09 -07:00
committed by GitHub
parent 498186764a
commit df84f665a5
3 changed files with 138 additions and 138 deletions

View File

@@ -4845,7 +4845,7 @@ pub fn NewCodePointIterator(comptime CodePointType_: type, comptime zeroValue: c
unreachable;
}
pub inline fn next(it: *const Iterator, cursor: *Cursor) bool {
pub inline fn next(noalias it: *const Iterator, noalias cursor: *Cursor) bool {
const pos: u32 = @as(u32, cursor.width) + cursor.i;
if (pos >= it.bytes.len) {
return false;