Minimize unneeded casts
This commit is contained in:
1 parent
75f127af7c
commit
b727b6438b
24 files changed
+108
-109
No files matched your search
+1
-1
@@ -290,7 +290,7 @@ write_byte :: proc{
|
||||
};
|
||||
|
||||
write_byte_to_byte_writer :: proc(w: Byte_Writer, c: byte) -> Error {
|
||||
return _write_byte(auto_cast w, c);
|
||||
return _write_byte(w, c);
|
||||
}
|
||||
|
||||
write_byte_to_writer :: proc(w: Writer, c: byte) -> Error {
|
||||
|
||||
Reference in new issue
Block a user