Fix some -vet warnings; change import to core:math/bits
This commit is contained in:
1 parent
b978959fae
commit
e6f9b4fb11
4 files changed
+5
-7
No files matched your search
@@ -230,8 +230,8 @@ quote :: proc(buf: []byte, s: string) -> string {
|
||||
write_byte(buf, &i, digits[s[0]>>4]);
|
||||
write_byte(buf, &i, digits[s[0]&0xf]);
|
||||
}
|
||||
s := quote_rune(buf[i:], r);
|
||||
i += len(s);
|
||||
s2 := quote_rune(buf[i:], r);
|
||||
i += len(s2);
|
||||
}
|
||||
write_byte(buf, &i, c);
|
||||
return string(buf[:i]);
|
||||
|
||||
Reference in new issue
Block a user