mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-26 09:23:48 +00:00
defer statements
This commit is contained in:
+2
-5
@@ -121,10 +121,7 @@ print_uint_base :: proc(i, base : uint) {
|
||||
|
||||
|
||||
print_bool :: proc(b : bool) {
|
||||
if b {
|
||||
print_string("true");
|
||||
} else {
|
||||
print_string("false");
|
||||
}
|
||||
if b { print_string("true"); }
|
||||
else { print_string("false"); }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user