From 9371325246e24380a9479a26fa405006fb873d7b Mon Sep 17 00:00:00 2001 From: gingerBill Date: Thu, 25 May 2023 12:19:41 +0100 Subject: [PATCH] Fix typo --- core/slice/slice.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/slice/slice.odin b/core/slice/slice.odin index a8f70e333..412c90fc8 100644 --- a/core/slice/slice.odin +++ b/core/slice/slice.odin @@ -56,7 +56,7 @@ to_bytes :: proc "contextless" (s: []$T) -> []byte { */ @(require_results) reinterpret :: proc "contextless" ($T: typeid/[]$U, s: []$V) -> []U { - when size_of(U) == 0 || size_of(B) == 0 { + when size_of(U) == 0 || size_of(V) == 0 { return nil } else { bytes := to_bytes(s)