aboutsummaryrefslogtreecommitdiff
path: root/core/container
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-09-12 11:44:54 +0100
committergingerBill <bill@gingerbill.org>2023-09-12 11:44:54 +0100
commit53380632a1d5a5582ab2d7ae69715655d0f46986 (patch)
tree7034bc93f47febf61772ca7ae17235ef302bd4e8 /core/container
parent984a95b8c76cc5a42b401d9a1761c52ede344754 (diff)
Swap order of `prev` and `next`
Diffstat (limited to 'core/container')
-rw-r--r--core/container/intrusive/list/intrusive_list.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/container/intrusive/list/intrusive_list.odin b/core/container/intrusive/list/intrusive_list.odin
index 88e21edc5..d2df4475b 100644
--- a/core/container/intrusive/list/intrusive_list.odin
+++ b/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) {