Fix typo
This commit is contained in:
1 parent
2fda3cf988
commit
9371325246
1 file changed
+1
-1
@@ -56,7 +56,7 @@ to_bytes :: proc "contextless" (s: []$T) -> []byte {
|
|||||||
*/
|
*/
|
||||||
@(require_results)
|
@(require_results)
|
||||||
reinterpret :: proc "contextless" ($T: typeid/[]$U, s: []$V) -> []U {
|
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
|
return nil
|
||||||
} else {
|
} else {
|
||||||
bytes := to_bytes(s)
|
bytes := to_bytes(s)
|
||||||
|
|||||||
Reference in new issue
Block a user