lib: correct unnecessary uses of 'var'

This commit is contained in:
mlugg
2023-11-10 05:27:17 +00:00
parent baabc6013e
commit 51595d6b75
174 changed files with 738 additions and 711 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ pub fn utf8ValidateSlice(input: []const u8) bool {
s5, s6, s6, s6, s7, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx,
};
var n = remaining.len;
const n = remaining.len;
var i: usize = 0;
while (i < n) {
const first_byte = remaining[i];