فهرست منبع

Swap order of `prev` and `next`

gingerBill 2 سال پیش
والد
کامیت
53380632a1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      core/container/intrusive/list/intrusive_list.odin

+ 1 - 1
core/container/intrusive/list/intrusive_list.odin

@@ -20,7 +20,7 @@ List :: struct {
 
 
 Node :: struct {
-	next, prev: ^Node,
+	prev, next: ^Node,
 }
 
 push_front :: proc(list: ^List, node: ^Node) {