mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Strip even more semicolons if followed by a } or ) on the same line
This commit is contained in:
+4
-4
@@ -184,10 +184,10 @@ any_to_bytes :: proc(val: any) -> []byte {
|
||||
}
|
||||
|
||||
|
||||
kilobytes :: proc(x: int) -> int { return (x) * 1024; }
|
||||
megabytes :: proc(x: int) -> int { return kilobytes(x) * 1024; }
|
||||
gigabytes :: proc(x: int) -> int { return megabytes(x) * 1024; }
|
||||
terabytes :: proc(x: int) -> int { return gigabytes(x) * 1024; }
|
||||
kilobytes :: proc(x: int) -> int { return (x) * 1024 }
|
||||
megabytes :: proc(x: int) -> int { return kilobytes(x) * 1024 }
|
||||
gigabytes :: proc(x: int) -> int { return megabytes(x) * 1024 }
|
||||
terabytes :: proc(x: int) -> int { return gigabytes(x) * 1024 }
|
||||
|
||||
is_power_of_two :: proc(x: uintptr) -> bool {
|
||||
if x <= 0 {
|
||||
|
||||
Reference in New Issue
Block a user