mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-18 17:08:21 +00:00
Remove &
This commit is contained in:
@@ -15,7 +15,7 @@ _error_string :: proc(errno: i32) -> string {
|
||||
|
||||
err := runtime.Type_Info_Enum_Value(e)
|
||||
|
||||
ti := &runtime.type_info_base(type_info_of(win32.System_Error)).variant.(^runtime.Type_Info_Enum)
|
||||
ti := runtime.type_info_base(type_info_of(win32.System_Error)).variant.(^runtime.Type_Info_Enum)
|
||||
if idx, ok := slice.binary_search(ti.values, err); ok {
|
||||
return ti.names[idx]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user