瀏覽代碼

Update ring.odin

Someone missed the T type here ;)
Platin21 5 年之前
父節點
當前提交
3946f357e8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/container/ring.odin

+ 1 - 1
core/container/ring.odin

@@ -2,7 +2,7 @@ package container
 
 
 Ring :: struct(T: typeid) {
-	next, prev: ^Ring,
+	next, prev: ^Ring(T),
 	value: T,
 }