aboutsummaryrefslogtreecommitdiff
path: root/src/string_immutable.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/string_immutable.zig')
-rw-r--r--src/string_immutable.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_immutable.zig b/src/string_immutable.zig
index 9f1ebee87..95b1140c0 100644
--- a/src/string_immutable.zig
+++ b/src/string_immutable.zig
@@ -181,7 +181,7 @@ pub fn toUTF16Buf(in: string, out: []u16) usize {
}
}
- return utf8Iterator.i;
+ return i;
}
pub fn toUTF16Alloc(in: string, allocator: *std.mem.Allocator) !JavascriptString {